mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-04-11 10:14:41 +02:00
Fix dockerfile for CI
This commit is contained in:
parent
05203f3392
commit
c001bca84a
1 changed files with 3 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue