mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-01-18 10:36:44 +01:00
Fix dockerfile for CI
This commit is contained in:
parent
05203f3392
commit
c001bca84a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user