Skip to content

Commit a3f861a

Browse files
Merge pull request #650 from crungehottman/fakefront-updates
Updates to fakefront containerfile [RHELDST-31430]
2 parents b48459d + 02d3e73 commit a3f861a

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

support/fakefront/Containerfile

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1-
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:b2a1bec3dfbc7a14a1d84d98934dfe8fdde6eb822a211286601cf109cbccb075
1+
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:e1c4703364c5cb58f5462575dc90345bcd934ddc45e6c32f9c162f2b5617681c
22

33
COPY . /usr/local/src/exodus-lambda
44

55
RUN \
6-
microdnf -y install shadow-utils python39 /usr/bin/openssl /usr/bin/envsubst \
6+
# Install shadow-utils for adduser functionality
7+
microdnf -y install shadow-utils \
8+
# Install extra commands needed for build
9+
&& microdnf -y install python3.11 python3.11-devel python3.11-pip gcc make \
10+
&& microdnf -y install /usr/bin/openssl /usr/bin/envsubst \
11+
# Ensure packages are up-to-date
12+
&& microdnf -y update \
13+
# Install application itself
714
&& cd /usr/local/src/exodus-lambda \
8-
&& pip3 install --require-hashes -r requirements-fakefront.txt \
9-
&& pip3 install --editable . \
15+
&& pip3.11 install --require-hashes -r requirements-fakefront.txt \
16+
&& pip3.11 install --editable . \
17+
# Clean up unnecessary data
1018
&& microdnf clean all && rm -rf /var/cache/yum
1119

1220
RUN adduser fakefront

0 commit comments

Comments
 (0)