mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-13 12:37:36 +00:00
Add new minimal init prototype and new tools
This is part of the new moby tool work to get a minimal system up that can be expanded. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -7,13 +7,13 @@ RUN \
|
||||
libc-dev \
|
||||
make \
|
||||
&& true
|
||||
ENV CONTAINERD_COMMIT=3b79682548339895fcf9976f60ddea8abc5fc97e
|
||||
ENV CONTAINERD_COMMIT=1dc5d652ac1adf8f0a92ee8eff7af07b129d4e21
|
||||
RUN mkdir -p $GOPATH/src/github.com/docker && \
|
||||
cd $GOPATH/src/github.com/docker && \
|
||||
git clone https://github.com/docker/containerd.git
|
||||
WORKDIR $GOPATH/src/github.com/docker/containerd
|
||||
RUN git checkout $CONTAINERD_COMMIT
|
||||
RUN make binaries GO_GCFLAGS="-buildmode pie --ldflags '-extldflags \"-fno-PIC -static\"'"
|
||||
RUN cp bin/containerd bin/ctr bin/containerd-shim /usr/bin/
|
||||
RUN cp bin/containerd bin/ctr bin/containerd-shim bin/dist /usr/bin/
|
||||
WORKDIR /
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user