Commit 23ccb055 authored by Jens Langhammer's avatar Jens Langhammer

Fix "tier0: file not found"

parent 1303183b
Pipeline #3860 passed with stage
in 1 minute and 49 seconds
......@@ -3,11 +3,14 @@ FROM golang:latest AS builder
WORKDIR /go/src/git.beryju.org/BeryJu.org/p2/tier0
ENV GO111MODULE=on
ENV GOOS=linux
ENV GOARCH=amd64
ENV CGO_ENABLED=0
COPY . .
RUN go mod download && \
go build -v -o /go/bin/tier0
go build -ldflags "-s -w" -v -o /go/bin/tier0
FROM alpine:latest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment