Skip to content

Commit f67107e

Browse files
authored
Merge pull request #181 from mendix/fix-random-uids
Ensure that writing to /etc/passwd is no longer required
2 parents 38f09bd + bd8cdd2 commit f67107e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ ARG USER_UID=1001
5353
# Set the home path
5454
ENV HOME=/opt/mendix/build
5555

56-
# Allow the user group to modify /etc/passwd so that OpenShift 3 randomized UIDs are supported by CF Buildpack
57-
RUN chmod g=u /etc/passwd &&\
58-
chown ${USER_UID}:0 /etc/passwd
59-
6056
# Add the buildpack modules
6157
ENV PYTHONPATH "/opt/mendix/buildpack/lib/:/opt/mendix/buildpack/:/opt/mendix/buildpack/lib/python3.11/site-packages/"
6258

rootfs-builder.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV LANG C.UTF-8
1010
ENV LC_ALL C.UTF-8
1111

1212
# CF buildpack version
13-
ARG CF_BUILDPACK=v5.0.4
13+
ARG CF_BUILDPACK=v5.0.9
1414
# CF buildpack download URL
1515
ARG CF_BUILDPACK_URL=https://github.com/mendix/cf-mendix-buildpack/releases/download/${CF_BUILDPACK}/cf-mendix-buildpack.zip
1616

0 commit comments

Comments
 (0)