Newer
Older
FROM golang:1.16-buster AS installer
RUN git config --global url."https://$GITLAB_USER:$GITLAB_TOKEN@code.fbi.h-da.de".insteadOf "https://code.fbi.h-da.de"
WORKDIR /src/gosdn
COPY go.* ./
RUN go mod download
FROM installer as builder
COPY ./api ./api
COPY ./cmd ./cmd
COPY ./forks ./forks
COPY ./interfaces ./interfaces
COPY ./northbound ./northbound
COPY ./nucleus ./nucleus