Merge pull request #1981 from turrisxyz/naveensrinivasan/digest-docker-image

chore: Included the digest for the docker image
This commit is contained in:
Steven Black
2022-06-14 14:51:12 -04:00
committed by GitHub
+5 -2
View File
@@ -1,4 +1,7 @@
FROM python:3
# using container digest is recommended https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests
# https://cloud.google.com/architecture/using-container-images
FROM python:3@sha256:b7bfea0126f539ba570a01fb595ee84cc4e7dcac971ad83d12c848942fa52cb6
WORKDIR /usr/src
COPY requirements.txt ./
@@ -8,4 +11,4 @@ WORKDIR /usr/src/hosts
# Now you launch this with
# $ docker build ./
# $ docker run -it (containerid) bash
# $ docker run -it (containerid) bash