Commit 8ea67989 authored by Martin Peres's avatar Martin Peres
Browse files

Dockerfile: revert to using Alpine 3.13

Alpine edge has a go version too new for u-root.
parent e963afe5
Pipeline #288647 waiting for manual action with stages
......@@ -22,12 +22,15 @@
# Author: Martin Peres <martin.peres@mupuf.org>
#
FROM alpine:edge
FROM alpine:3.13
COPY patches /patches
RUN set -ex \
&& apk add --no-cache bash go git upx make linux-headers crun busybox ca-certificates e2fsprogs parted gpgme gpgme-dev util-linux pigz libseccomp-dev conmon patch \
&& apk add --no-cache git bash go crun busybox ca-certificates e2fsprogs parted gpgme util-linux pigz \
&& apk add --no-cache -t build_deps upx make linux-headers gpgme-dev util-linux patch \
&& apk -X http://dl-cdn.alpinelinux.org/alpine/edge/main --no-cache add libseccomp-dev \
&& apk -X http://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache add conmon \
&& git clone https://github.com/containers/podman.git /src/podman/ \
&& cd /src/podman \
&& patch -p1 < /patches/podman/0001-create-run-mirror-the-tls-verify-argument-from-pull.patch \
......@@ -35,7 +38,7 @@ RUN set -ex \
&& upx --best bin/podman \
&& cp bin/podman /bin/podman \
&& rm -rf /src/podman /root/.cache \
&& apk del upx make linux-headers gpgme-dev bash libseccomp-dev
&& apk del build_deps bash libseccomp-dev
# Don't ask me why it cannot be folded on the layer above!
RUN set -ex \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment