|
|
|
@ -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 |
|
|
|
@ -16,15 +16,8 @@ RUN useradd -m -u 1000 -g deploy deploy
@@ -16,15 +16,8 @@ RUN useradd -m -u 1000 -g deploy deploy
|
|
|
|
|
# CUSTOM PART IS BELOW HERE |
|
|
|
|
# |
|
|
|
|
|
|
|
|
|
# currently there is a bug in one of the following requriements |
|
|
|
|
#RUN apt-get install -y libssh-4 |
|
|
|
|
|
|
|
|
|
# install required packages |
|
|
|
|
RUN apt-get install -y apache2 |
|
|
|
|
RUN apt-get install -y apache2-utils |
|
|
|
|
RUN apt-get install -y libapache2-mod-svn |
|
|
|
|
RUN apt-get install -y subversion |
|
|
|
|
RUN apt-get install -y python3 |
|
|
|
|
RUN apt-get install -y apache2 apache2-utils libapache2-mod-svn subversion python3 |
|
|
|
|
|
|
|
|
|
# copy the script to run httpd in foreground |
|
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|
|