Skip to content

Commit

Permalink
chore: Pinned container images by digest hashes in `test/container/Do…
Browse files Browse the repository at this point in the history
…ckerfile` (argoproj#12622) (argoproj#12623)

* Pinned container images by digest hashes.

Signed-off-by: adamibs <[email protected]>

* Update test/container/Dockerfile

Co-authored-by: Justin Marquis <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: adamibs <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
Co-authored-by: Justin Marquis <[email protected]>
  • Loading branch information
3 people authored Mar 1, 2023
1 parent 4ead2cc commit b1376e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
FROM docker.io/library/redis:7.0.8-alpine as redis
FROM docker.io/library/redis:7.0.8@sha256:6a59f1cbb8d28ac484176d52c473494859a512ddba3ea62a547258cf16c9b3ae as redis

# There are libraries we will want to copy from here in the final stage of the
# build, but the COPY directive does not have a way to determine system
# architecture, so we create a symlink here to facilitate copying.
RUN ln -s /usr/lib/$(uname -m)-linux-gnu /usr/lib/linux-gnu

FROM docker.io/library/node:12.18.4-buster as node
FROM docker.io/library/node:12.18.4-buster@sha256:7f4090a3fea631e703f4afe5cc5504143970d669a2c13b4e5edf3f830c9b4c96 as node

FROM docker.io/library/golang:1.19 as golang
FROM docker.io/library/golang:1.19.6@sha256:7ce31d15a3a4dbf20446cccffa4020d3a2974ad2287d96123f55caf22c7adb71 as golang

FROM docker.io/library/registry:2.8 as registry
FROM docker.io/library/registry:2.8@sha256:3f71055ad7c41728e381190fee5c4cf9b8f7725839dcf5c0fe3e5e20dc5db1fa as registry

FROM docker.io/bitnami/kubectl:1.26@sha256:625467eb8c3a3d60232923404941c32e787eb9003e644d0fa8258b0efa7f6a7f as kubectl

FROM ubuntu:22.04
FROM ubuntu:22.04@sha256:9a0bdde4188b896a372804be2384015e90e3f84906b750c1a53539b585fbbe7f

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --fix-missing -y \
Expand Down

0 comments on commit b1376e9

Please sign in to comment.