mirror of https://github.com/01-edu/public.git
Xavier Petit
5 years ago
committed by
xpetit
3 changed files with 9 additions and 9 deletions
@ -1,7 +1,8 @@ |
|||||||
FROM golang:1 |
FROM golang:1-alpine |
||||||
|
|
||||||
|
RUN apk add git |
||||||
RUN go get golang.org/x/tools/cmd/goimports |
RUN go get golang.org/x/tools/cmd/goimports |
||||||
RUN go get github.com/01-edu/z01 |
RUN go get github.com/01-edu/z01 |
||||||
RUN go get github.com/01-edu/public/rc |
RUN go get github.com/01-edu/public/rc |
||||||
COPY . /app |
COPY . /app |
||||||
ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh"] |
ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"] |
||||||
|
@ -1,6 +1,5 @@ |
|||||||
FROM debian |
FROM alpine |
||||||
|
|
||||||
RUN apt-get update |
RUN apk add jq curl git |
||||||
RUN apt-get install -y jq curl git |
|
||||||
COPY . /app |
COPY . /app |
||||||
ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh"] |
ENTRYPOINT ["/bin/sh", "/app/entrypoint.sh"] |
||||||
|
Loading…
Reference in new issue