dendrite/docker/dockerfiles/build.Dockerfile
feffe 154e99b12a
Update Docker stuff
Remove old run scripts
Add environment parsing
Add Dockerfiles
Add docker-compose for easy building

Signed-off-by: feffe <feffe@feffe.dev>
2020-02-14 18:11:04 +01:00

9 lines
226 B
Docker

###########
## Build ##
###########
FROM golang:1.13-alpine AS build
RUN apk --update --no-cache add openssl bash git ca-certificates
WORKDIR /build
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOBIN=$PWD/bin go install -v ./cmd/...