Fix dockerfile for CI
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Antoine Bartuccio 2019-07-23 22:15:42 +02:00
parent 05203f3392
commit c001bca84a
Signed by: klmp200
GPG Key ID: E7245548C53F904B
1 changed files with 3 additions and 6 deletions

View File

@ -4,17 +4,14 @@ FROM golang:1.11 AS builder
# ADD https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 /usr/bin/dep
# RUN chmod +x /usr/bin/dep
WORKDIR /go/src/git.klmp200.net/ALFRED/ALFRED
# Copy the code from the host and compile it
RUN mkdir -p src/git.klmp200.net/ALFRED/ALFRED
COPY . src/git.klmp200.net/ALFRED/ALFRED
WORKDIR "src/git.klmp200.net/ALFRED/ALFRED"
COPY . .
RUN go get -v -d ./...
RUN mkdir res
COPY settings.json res
COPY quotes.json res