Skip to content

Commit e966b83

Browse files
committed
chore: update vmware/govc and vmware/vcsim dockerfiles
Updates the `Dockerfile.govc` and `Dockerfile.vcsim` to use the official Docker image based on the version used in the project. Signed-off-by: Ryan Johnson <[email protected]>
1 parent 63177e0 commit e966b83

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Dockerfile.govc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Create a builder container
2-
# golang:1.18.0-buster amd64
3-
FROM golang@sha256:7d39537344486528f8cdb3bd8adb98ab7f0f4236044b6944fed8631da35a4ce5 AS build
2+
# Reference: https://hub.docker.com/_/golang/tags
3+
# Note: Official Docker images for Go use Debian.
4+
ARG GO_VERSION
5+
FROM golang:1.23.0 AS build
46
WORKDIR /go/src/app
57

68
# Create appuser to isolate potential vulnerabilities
7-
# See https://stackoverflow.com/a/55757473/12429735
9+
# Reference: https://stackoverflow.com/a/55757473/12429735
810
ENV USER=appuser
911
ENV UID=10001
1012
RUN adduser \

Dockerfile.vcsim

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Create a builder container
2-
# golang:1.18.0-buster amd64
3-
FROM golang@sha256:7d39537344486528f8cdb3bd8adb98ab7f0f4236044b6944fed8631da35a4ce5 AS build
2+
# Reference: https://hub.docker.com/_/golang/tags
3+
# Note: Official Docker images for Go use Debian.
4+
ARG GO_VERSION
5+
FROM golang:1.23.0 AS build
46
WORKDIR /go/src/app
57

68
# Create appuser to isolate potential vulnerabilities
7-
# See https://stackoverflow.com/a/55757473/12429735
9+
# Reference: https://stackoverflow.com/a/55757473/12429735
810
ENV USER=appuser
911
ENV UID=10001
1012
RUN adduser \

0 commit comments

Comments
 (0)