Created
September 26, 2014 16:44
-
-
Save dasgoll/15a4b18ef489dde10d84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
ENV VERSION 2.25 | |
RUN apt-get update -q | |
RUN apt-get install -qy curl build-essential | |
RUN mkdir /src | |
WORKDIR /src | |
RUN curl https://www.kernel.org/pub/linux/utils/util-linux/v$VERSION/util-linux-$VERSION.tar.gz \ | |
| tar -zxf- | |
RUN ln -s util-linux-$VERSION util-linux | |
WORKDIR /src/util-linux | |
RUN ./configure --without-ncurses | |
RUN make LDFLAGS=-all-static nsenter | |
RUN cp nsenter / | |
ADD docker-enter /docker-enter | |
ADD installer /installer | |
CMD /installer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment