Skip to content

Commit

Permalink
Merge pull request #264 from AkihiroSuda/fix-runc-arm64
Browse files Browse the repository at this point in the history
nerdctl-full: compile runc with CGO_ENABLED=1
  • Loading branch information
AkihiroSuda committed Jun 24, 2021
2 parents 39a4644 + 0a76339 commit 1ac4468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ RUN git clone https://github.com/opencontainers/runc.git /go/src/github.com/open
WORKDIR /go/src/github.com/opencontainers/runc
RUN git checkout v${RUNC_VERSION} && \
mkdir -p /out
ENV CGO_ENABLED=1
RUN GOARCH=amd64 CC=x86_64-linux-gnu-gcc make runc && \
cp -a runc /out/runc.amd64
RUN GOARCH=arm64 CC=aarch64-linux-gnu-gcc make runc && \
Expand Down

0 comments on commit 1ac4468

Please sign in to comment.