-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (25 loc) · 1.18 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM robertdebock/ubuntu
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y apache2 docker.io rsync sudo apt-utils
RUN apt-get clean
RUN ls -al /etc/apache2/sites-available
RUN mkdir -p /etc/haproxy
RUN mkdir -p /etc/ssl/certs/local
RUN mkdir -p /usr/local/src/haproxy-scripts/apache2
COPY apache2/ports.conf /usr/local/src/haproxy-scripts/apache2/
COPY haproxy.cfg /etc/haproxy/
COPY common-functions.sh /usr/local/src/haproxy-scripts/
COPY fullstack /usr/local/src/haproxy-scripts/
COPY install-haproxy-service /usr/local/src/haproxy-scripts/
COPY new-haproxy /usr/local/src/haproxy-scripts/
COPY new-quic /usr/local/src/haproxy-scripts/
COPY prep-source /usr/local/src/haproxy-scripts/
COPY runci /usr/local/src/haproxy-scripts/
COPY selfsigned.pem /etc/ssl/certs/local/
RUN rsync -avH /usr/local/src/haproxy-scripts/apache2/ /etc/apache2/
RUN timedatectl set-timezone America/Denver
RUN systemctl restart apache2
RUN DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
RUN /usr/local/src/haproxy-scripts/prep-source
RUN /usr/local/src/haproxy-scripts/install-haproxy-service git-haproxy-master
RUN /usr/local/src/haproxy-scripts/fullstack
RUN /usr/local/src/haproxy-scripts/runci