Skip to content

Commit

Permalink
Update Docker container to Ubuntu Jammy (=22.04 LTS) (#239)
Browse files Browse the repository at this point in the history
Requires to explicitly add fdisk as dependency (provides sfdisk).

Also sorting the apt-get installed dependencies.
  • Loading branch information
dbast authored Oct 31, 2022
1 parent e89b867 commit 6f1f8be
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,22 @@ RUN if [ "$(uname -m)" = "aarch64" ]; then PACKER_ARCH="arm64"; else PACKER_ARCH
# COMPRESS WITH UPX
RUN upx-ucl --lzma /build/packer-builder-arm /bin/packer

FROM public.ecr.aws/lts/ubuntu:focal
FROM public.ecr.aws/lts/ubuntu:jammy

# hadolint ignore=DL3008
RUN apt-get update -qq \
&& apt-get install -qqy --no-install-recommends \
ca-certificates \
dosfstools \
fdisk \
gdisk \
kpartx \
parted \
libarchive-tools \
sudo \
xz-utils \
parted \
psmisc \
qemu-utils \
sudo \
xz-utils \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /build
Expand Down

0 comments on commit 6f1f8be

Please sign in to comment.