Skip to content

Commit

Permalink
update base-podman dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yudong2015 committed Apr 19, 2024
1 parent 3a09606 commit 5197593
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions base/podman/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ ENV EXCLUDE_DOCKER 1
RUN ./hack/install_utils.sh && rm -rf ./*

# Install runc for podman
RUN git clone -b v1.1.10 https://github.com/opencontainers/runc.git $(go env GOPATH)/src/github.com/opencontainers/runc && \
cd $(go env GOPATH)/src/github.com/opencontainers/runc && make BUILDTAGS="selinux seccomp" && mv runc /usr/bin/runc
RUN wget https://github.com/opencontainers/runc/releases/download/v1.1.10/runc.arm64 && \
mv runc.arm64 /usr/bin/runc && chmod +x /usr/bin/runc

# Install conmon for podman
RUN wget https://github.com/containers/conmon/releases/download/v2.1.0/conmon.amd64 && mv conmon.amd64 /usr/bin/conmon && chmod +x /usr/bin/conmon
RUN wget https://github.com/containers/conmon/releases/download/v2.1.0/conmon.amd64 && \
mv conmon.amd64 /usr/bin/conmon && chmod +x /usr/bin/conmon

# Install podman
RUN wget https://github.com/containers/podman/archive/refs/tags/v3.4.4.tar.gz && \
Expand Down

0 comments on commit 5197593

Please sign in to comment.