Skip to content

Commit 852af8c

Browse files
committed
Update samples dfiles to use correct base images
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]>
1 parent 62507ed commit 852af8c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

samples/debian_vim/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Copyright (c) 2017 VMware, Inc. All Rights Reserved.
22
# SPDX-License-Identifier: BSD-2-Clause
3-
FROM debian:jessie
3+
FROM debian:bullseye
44
RUN apt-get update && apt-get install -y vim && apt-get clean

samples/photon_3_layers/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Copyright (c) 2017 VMware, Inc. All Rights Reserved
22
# SPDX-License-Identifier: BSD-2-Clause
3-
FROM vmware/photon2:GA
3+
FROM photon:3.0
44
RUN tyum install -y git && tyum clean all
55
RUN tyum install -y vim && tyum clean all

samples/photon_git/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Copyright (c) 2017 VMware, Inc. All Rights Reserved
22
# SPDX-License-Identifier: BSD-2-Clause
3-
FROM vmware/photon:1.0
3+
FROM photon:5.0
44
RUN tyum install -y git && tyum clean all

samples/photon_openjre/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Copyright (c) 2017 VMware, Inc. All Rights Reserved
22
# SPDX-License-Identifier: BSD-2-Clause
3-
FROM vmware/photon:1.0
3+
FROM photon:5.0
44
RUN tyum install -y openjre && tyum clean all

0 commit comments

Comments
 (0)