mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-28 10:12:43 +00:00
These are standalone, better to have them at the top. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
22 lines
396 B
Docker
22 lines
396 B
Docker
FROM alpine:3.5
|
|
RUN \
|
|
apk update && apk upgrade && \
|
|
apk add \
|
|
curl \
|
|
gcc \
|
|
groff \
|
|
make \
|
|
musl-dev \
|
|
&& true
|
|
|
|
COPY . /
|
|
|
|
ENV VERSION=mksh-R54
|
|
|
|
RUN curl -O -sSL https://github.com/MirBSD/mksh/archive/$VERSION.tar.gz
|
|
RUN zcat $VERSION.tar.gz | tar xvf -
|
|
|
|
ENV LDFLAGS=-static
|
|
|
|
RUN cd mksh-$VERSION && sh ./Build.sh && strip mksh && install -c -s -o root -g bin -m 555 mksh /bin/mksh
|