Browse Source

trying to get rid of segfault, changing to ubuntu

main
Holger Frey 3 years ago
parent
commit
f192f83ab8
  1. 8
      Dockerfile

8
Dockerfile

@ -3,8 +3,8 @@ FROM ubuntu:latest
RUN apt-get update && apt-get upgrade -y RUN apt-get update && apt-get upgrade -y
# add user that will be used to install and run the application # add user that will be used to install and run the application
#RUN addgroup -g 1000 deploy RUN addgroup -g 1000 deploy
#RUN adduser -D -u 1000 -G deploy deploy RUN adduser -D -u 1000 -G deploy deploy
# #
# CUSTOM PART IS BELOW HERE # CUSTOM PART IS BELOW HERE
@ -45,8 +45,8 @@ ENV APACHE_PID_FILE=/var/run/apache2/apache2.pid
ENV APACHE_LOCK_DIR=/var/lock/apache2 ENV APACHE_LOCK_DIR=/var/lock/apache2
ENV APACHE_LOG_DIR=/var/log/apache2 ENV APACHE_LOG_DIR=/var/log/apache2
ENV APACHE_RUN_DIR=/var/run/apache2 ENV APACHE_RUN_DIR=/var/run/apache2
ENV APACHE_RUN_USER=www-data ENV APACHE_RUN_USER=deploy
ENV APACHE_RUN_GROUP=www-data ENV APACHE_RUN_GROUP=deploy
#USER deploy #USER deploy

Loading…
Cancel
Save