mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 20:08:14 +00:00
- use jq to fix up the output where there are still issues - some issues will need fixing up in future too - can remove fixes later - still plan to restructure the code around containers to make it easier and clearer Signed-off-by: Justin Cormack <justin.cormack@docker.com>
24 lines
460 B
Docker
24 lines
460 B
Docker
FROM golang:1.7-alpine
|
|
|
|
RUN \
|
|
apk update && apk upgrade && \
|
|
apk add \
|
|
docker \
|
|
gcc \
|
|
git \
|
|
jq \
|
|
linux-headers \
|
|
musl-dev \
|
|
&& 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"]
|