Pass hadolint
This commit is contained in:
parent
8a6d480d17
commit
6999b4e728
7 changed files with 56 additions and 56 deletions
|
@ -1,20 +1,20 @@
|
|||
FROM golang:alpine as gobuild
|
||||
FROM golang:1-alpine as gobuild
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
WORKDIR /go/src/srs.epita.fr/fic-server/
|
||||
|
||||
ADD go.mod go.sum ./
|
||||
ADD settings settings/
|
||||
ADD libfic ./libfic/
|
||||
ADD admin ./admin/
|
||||
ADD repochecker ./repochecker/
|
||||
COPY go.mod go.sum ./
|
||||
COPY settings settings/
|
||||
COPY libfic ./libfic/
|
||||
COPY admin ./admin/
|
||||
COPY repochecker ./repochecker/
|
||||
|
||||
RUN go get -d -v ./repochecker
|
||||
RUN go build -v -o repochecker/repochecker ./repochecker
|
||||
RUN go get -d -v ./repochecker && \
|
||||
go build -v -o repochecker/repochecker ./repochecker
|
||||
|
||||
|
||||
FROM alpine
|
||||
FROM alpine:3.14
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
|
|
Reference in a new issue