Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY $BUILD_PATH /opt/mendix/build
ENV NGINX_CUSTOM_BIN_PATH=/usr/sbin/nginx

# Set the user ID
ARG USER_UID=1001
ARG USER_UID=11001

# Copy start scripts
COPY scripts/startup.py scripts/vcap_application.json /opt/mendix/build/
Expand Down Expand Up @@ -69,7 +69,7 @@ ENV HOME=/opt/mendix/build
ENV PYTHONPATH "/opt/mendix/buildpack/lib/:/opt/mendix/buildpack/:/opt/mendix/buildpack/lib/python3.11/site-packages/"

# Set the user ID
ARG USER_UID=1001
ARG USER_UID=11001

USER ${USER_UID}

Expand Down
4 changes: 2 additions & 2 deletions mxbuild/dotnet.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

# Set the user ID
ARG USER_UID=1001
ARG USER_UID=11001
ENV USER_UID=${USER_UID}

# Install common prerequisites
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm &&\
microdnf update -y && \
microdnf install -y glibc-langpack-en openssl fontconfig tzdata-java libgdiplus libicu tar gzip jq \
java-11-openjdk-devel java-17-openjdk-devel java-21-openjdk-devel && \
java-11-openjdk-devel java-17-openjdk-devel java-21-openjdk-devel && \
microdnf clean all && rm -rf /var/cache/yum

# Create user (for non-OpenShift clusters)
Expand Down
4 changes: 2 additions & 2 deletions mxbuild/mono.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

# Set the user ID
ARG USER_UID=1001
ARG USER_UID=11001
ENV USER_UID=${USER_UID}

# Add mono repo
Expand All @@ -17,7 +17,7 @@ COPY --chown=0:0 mono/mono-centos8-stable.repo /etc/yum.repos.d/mono-centos8-sta
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm &&\
microdnf update -y && \
microdnf install -y glibc-langpack-en openssl fontconfig tzdata-java mono-core-5.20.1.34 libgdiplus0 libicu tar jq \
java-11-openjdk-devel java-17-openjdk-devel java-21-openjdk-devel && \
java-11-openjdk-devel java-17-openjdk-devel java-21-openjdk-devel && \
microdnf clean all && rm -rf /var/cache/yum

# Download and extract MxBuild
Expand Down
2 changes: 1 addition & 1 deletion rootfs-app.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN microdnf update -y && \
microdnf clean all && rm -rf /var/cache/yum

# Set the user ID
ARG USER_UID=1001
ARG USER_UID=11001

# Set nginx permissions
RUN touch /run/nginx.pid && \
Expand Down
2 changes: 1 addition & 1 deletion rootfs-builder.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN microdnf update -y && \
microdnf clean all && rm -rf /var/cache/yum

# Set the user ID
ARG USER_UID=1001
ARG USER_UID=11001
ENV USER_UID=${USER_UID}

# Set nginx permissions
Expand Down