Change runc compilation to static
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com> Upstream-commit: 1cd96d5f686b389920ba01d0b230d7c29148e8ba Component: packaging
This commit is contained in:
@ -51,7 +51,7 @@ RUN git clone https://github.com/opencontainers/runc.git /go/src/github.com/open
|
||||
WORKDIR /go/src/github.com/opencontainers/runc
|
||||
RUN source /binaries-commits && \
|
||||
git checkout -q "$RUNC_COMMIT" && \
|
||||
make BUILDTAGS='seccomp apparmor' && make install
|
||||
make BUILDTAGS='seccomp apparmor' static && make install
|
||||
|
||||
# Final docker image
|
||||
FROM scratch
|
||||
|
||||
Reference in New Issue
Block a user