Skip to content

Commit

Permalink
Merge pull request #4535 from reasonerjt/pin-img
Browse files Browse the repository at this point in the history
Pin the base image and golang img for v1.8.0 release
  • Loading branch information
danfengliu authored Jan 17, 2022
2 parents 4593650 + 3607bf0 commit 1a8e660
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=$BUILDPLATFORM golang:1.17 as builder-env
FROM --platform=$BUILDPLATFORM golang:1.17.6 as builder-env

ARG GOPROXY
ARG PKG
Expand Down Expand Up @@ -50,7 +50,8 @@ RUN mkdir -p /output/usr/bin && \
go build -o /output/${BIN} \
-ldflags "${LDFLAGS}" ${PKG}/cmd/${BIN}

FROM gcr.io/distroless/base-debian10:nonroot
# The digest for tag 'nonroot' at the time of the release
FROM gcr.io/distroless/base-debian10@sha256:6dc8ca7c3bbdb1a00fd8f1229b1b8c88986a5818b830e3a42d4946982dbbf18b

LABEL maintainer="Nolan Brubaker <[email protected]>"

Expand Down
2 changes: 1 addition & 1 deletion hack/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.17
FROM golang:1.17.6

ARG GOPROXY

Expand Down

0 comments on commit 1a8e660

Please sign in to comment.