X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=https-server%2FDockerfile;h=7792de23e6635cd0006bf0b207064f04a10e4bdc;hb=refs%2Fchanges%2F38%2F12338%2F1;hp=941acb2e0b4532f64eff376603f3a57c6aa19d6a;hpb=c5655db5780275b07b25b57b767808f2f1eac7d9;p=nonrtric%2Fplt%2Franpm.git diff --git a/https-server/Dockerfile b/https-server/Dockerfile index 941acb2..7792de2 100644 --- a/https-server/Dockerfile +++ b/https-server/Dockerfile @@ -15,12 +15,14 @@ # ============LICENSE_END================================================= # -FROM golang:1.19-bullseye AS build +FROM golang:1.20.3-buster AS build + WORKDIR /app -COPY go.mod . -COPY go.sum . -RUN go mod download + COPY main.go . +RUN go mod init main +RUN go mod tidy + RUN go build -o /pm-https-server #Replaced distroless image with ubuntu for debug purposes