diff --git a/.whitesource b/.whitesource new file mode 100644 index 0000000..9c7ae90 --- /dev/null +++ b/.whitesource @@ -0,0 +1,14 @@ +{ + "scanSettings": { + "baseBranches": [] + }, + "checkRunSettings": { + "vulnerableCheckRunConclusionLevel": "failure", + "displayMode": "diff", + "useMendCheckNames": true + }, + "issueSettings": { + "minSeverityLevel": "LOW", + "issueType": "DEPENDENCY" + } +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index bf51b10..340d407 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM ubuntu:22.04 # Install Go RUN apt-get update && apt-get install -y wget git gcc unzip diff --git a/Dockerfile.Build b/Dockerfile.Build index ef3710c..a386079 100644 --- a/Dockerfile.Build +++ b/Dockerfile.Build @@ -34,7 +34,7 @@ RUN go build /go/src/github.com/vwxyzjn/portwarden/web/scheduler/main.go && mv . # Ready to run EXPOSE 5000 -FROM debian:stretch-20181112 as production +FROM debian:bullseye-20230725 as production RUN apt-get update && apt-get install -y ca-certificates openssl COPY --from=builder /usr/bin/bw /usr/bin/bw COPY --from=builder /scheduler /go/src/github.com/vwxyzjn/portwarden/web/scheduler/scheduler