Skip to content

Commit

Permalink
Merge pull request #2404 from alphagov/PP-6680_include_tag_in_docker_…
Browse files Browse the repository at this point in the history
…base_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 606a1de + 70ca04d commit cfb8caa
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 cfb8caa

Please sign in to comment.