Skip to content

Commit

Permalink
Merge pull request #809 from alphagov/PP-6680_include_tag_in_docker_b…
Browse files Browse the repository at this point in the history
…ase_image_from_line

PP-6680 Include tag of Docker base image in FROM line in Dockerfile
  • Loading branch information
alexbishop1 authored Jun 22, 2020
2 parents 2e5b94b + ec40be3 commit b9f68bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Digest of image e.g. openjdk11:jre-11.0.7_10-alpine for linux/amd64 from tags list on https://hub.docker.com/r/adoptopenjdk/openjdk11
FROM adoptopenjdk/openjdk11@sha256:63a55a2b49a12a15409c8228e7a23be3347b565d45dc7d05a03f965b495e0a90
FROM adoptopenjdk/openjdk11:jre-11.0.7_10-alpine@sha256:63a55a2b49a12a15409c8228e7a23be3347b565d45dc7d05a03f965b495e0a90

RUN ["apk", "--no-cache", "upgrade"]

Expand Down

0 comments on commit b9f68bc

Please sign in to comment.