|
|
@ -2,7 +2,7 @@ FROM ubuntu:latest |
|
|
|
|
|
|
|
|
|
|
|
# update to the latest packages |
|
|
|
# update to the latest packages |
|
|
|
ENV DEBIAN_FRONTEND="noninteractive" |
|
|
|
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 |
|
|
|
# add user that will be used to install and run the application |
|
|
|
RUN groupadd -g 1000 deploy |
|
|
|
RUN groupadd -g 1000 deploy |
|
|
@ -17,7 +17,8 @@ RUN useradd -m -u 1000 -g deploy deploy |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
# install required packages |
|
|
|
# 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 the script to run httpd in foreground |
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|