mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-28 19:02:22 +00:00
This includes most things except the containerd and runc builds which I will do next time I update them. Note that all golang:alpine images now for 1.8 are ALpine 3.5 based. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
25 lines
468 B
Docker
25 lines
468 B
Docker
FROM golang:1.8-alpine
|
|
|
|
RUN \
|
|
apk update && apk upgrade && \
|
|
apk add \
|
|
docker \
|
|
gcc \
|
|
git \
|
|
jq \
|
|
linux-headers \
|
|
musl-dev \
|
|
tar \
|
|
&& true
|
|
|
|
COPY Dockerfile /
|
|
COPY riddler.sh /usr/bin/
|
|
|
|
RUN git clone https://github.com/jessfraz/riddler.git /go/src/github.com/jessfraz/riddler
|
|
|
|
WORKDIR /go/src/github.com/jessfraz/riddler
|
|
RUN git checkout 23befa0b232877b5b502b828e24161d801bd67f6
|
|
RUN go build -o /usr/bin/riddler .
|
|
|
|
ENTRYPOINT ["/usr/bin/riddler.sh"]
|