mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 14:43:23 +00:00
excludes - Go base images as not yet available - perf which does not build with latest image Signed-off-by: Justin Cormack <justin.cormack@docker.com>
18 lines
425 B
Docker
18 lines
425 B
Docker
# Tag: b77cfc4ad0033d4366df830ed697afc7bab458a2
|
|
FROM mobylinux/alpine-build-c@sha256:53739ea6042cb0ac39cf6e262012c1c4224206b2c9b719569fe7efa3a381348c
|
|
|
|
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 -
|
|
|
|
WORKDIR mksh-$VERSION
|
|
|
|
ENV LDFLAGS=-static
|
|
|
|
RUN sh ./Build.sh
|
|
RUN strip mksh
|
|
RUN install -c -s -o root -g bin -m 555 mksh /bin/mksh
|