|
|
|
@ -2,7 +2,7 @@ FROM ubuntu:latest
@@ -2,7 +2,7 @@ FROM ubuntu:latest
|
|
|
|
|
|
|
|
|
|
# update to the latest packages |
|
|
|
|
ENV DEBIAN_FRONTEND="noninteractive" |
|
|
|
|
#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 |
|
|
|
|
RUN groupadd -g 1000 deploy |
|
|
|
@ -17,7 +17,8 @@ RUN useradd -m -u 1000 -g deploy deploy
@@ -17,7 +17,8 @@ RUN useradd -m -u 1000 -g deploy deploy
|
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
# install required packages |
|
|
|
|
RUN apt-get install -y apache2 apache2-utils libapache2-mod-svn subversion python3 |
|
|
|
|
RUN apt-get install -y apache2 apache2-utils libapache2-mod-svn subversion |
|
|
|
|
RUN apt-get install -y python3 python3-pip |
|
|
|
|
|
|
|
|
|
# copy the script to run httpd in foreground |
|
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|
|