Skip to content

Commit

Permalink
Update samples dfiles to use correct base images
Browse files Browse the repository at this point in the history
There were several Dockerfiles in the `samples` repo that were referring
to base images that either no longer exist or are much out of date (5+
years). This commit updates the base images in those files so that
Tern/Docker can build and analyze them.

Resolves #1235

Signed-off-by: Rose Judge <[email protected]>
  • Loading branch information
rnjudge committed Jul 13, 2023
1 parent 62507ed commit 852af8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion samples/debian_vim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2017 VMware, Inc. All Rights Reserved.
# SPDX-License-Identifier: BSD-2-Clause
FROM debian:jessie
FROM debian:bullseye
RUN apt-get update && apt-get install -y vim && apt-get clean
2 changes: 1 addition & 1 deletion samples/photon_3_layers/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2017 VMware, Inc. All Rights Reserved
# SPDX-License-Identifier: BSD-2-Clause
FROM vmware/photon2:GA
FROM photon:3.0
RUN tyum install -y git && tyum clean all
RUN tyum install -y vim && tyum clean all
2 changes: 1 addition & 1 deletion samples/photon_git/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2017 VMware, Inc. All Rights Reserved
# SPDX-License-Identifier: BSD-2-Clause
FROM vmware/photon:1.0
FROM photon:5.0
RUN tyum install -y git && tyum clean all
2 changes: 1 addition & 1 deletion samples/photon_openjre/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2017 VMware, Inc. All Rights Reserved
# SPDX-License-Identifier: BSD-2-Clause
FROM vmware/photon:1.0
FROM photon:5.0
RUN tyum install -y openjre && tyum clean all

0 comments on commit 852af8c

Please sign in to comment.