Build containerd containers from Docker containers

Simplifies the build process, and makes testing easier as there is a
Docker container you can run to test things.

Replaces #994

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-01-15 22:50:21 +00:00
parent 6076d70996
commit 7ae11bc5d4
19 changed files with 197 additions and 93 deletions

View File

@@ -13,6 +13,4 @@ COPY . /
ENV TINI_VERSION=0.13.0
ADD https://github.com/krallin/tini/archive/v${TINI_VERSION}.tar.gz tini-${TINI_VERSION}.tar.gz
RUN zcat tini-${TINI_VERSION}.tar.gz | tar xvf -
WORKDIR tini-${TINI_VERSION}
RUN cmake . && make
RUN cp -a tini-static /bin/tini
RUN cd tini-${TINI_VERSION} && cmake . && make && cp -a tini-static /bin/tini