Skip to content

Commit

Permalink
Testing - we still need to run as root
Browse files Browse the repository at this point in the history
  • Loading branch information
marji committed Aug 19, 2024
1 parent fa9a414 commit 4a61330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM php:8.2.22-alpine3.19

ARG RUNNER_UID=1001
#ARG RUNNER_UID=1001

LABEL maintainer="marji@morpht.com"
LABEL org.opencontainers.image.source="https://github.com/morpht/ci-php"
Expand All @@ -23,6 +23,6 @@ RUN apk add --no-cache --update git \
&& chmod +x /usr/local/bin/composer \
&& echo 'memory_limit = ${PHP_MEMORY_LIMIT}' > /usr/local/etc/php/conf.d/memory-limit.ini

RUN adduser -D -h /home/runner -u $RUNNER_UID runner
#RUN adduser -D -h /home/runner -u $RUNNER_UID runner

USER runner
#USER runner

0 comments on commit 4a61330

Please sign in to comment.