File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
77CMD ["/sbin/my_init" ]
88
99# Nginx-PHP Installation
10- RUN apt-get update -y && apt-get install -y vim curl wget build-essential python-software-properties git-core ntp
10+ RUN apt-get update -y && apt-get install -y vim curl wget build-essential python-software-properties git-core
1111RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 4F4EA0AAE5267A6C
1212RUN add-apt-repository -y ppa:ondrej/php5-5.6 && add-apt-repository -y ppa:nginx/stable && add-apt-repository ppa:chris-lea/node.js
1313RUN apt-get update -y && sudo apt-get upgrade -y && apt-get install -y php5 php5-cli php5-fpm php5-mysql php5-curl \
@@ -17,6 +17,9 @@ RUN apt-get update -y && sudo apt-get upgrade -y && apt-get install -y php5 php5
1717# Install nginx (full)
1818RUN apt-get install -y nginx-full
1919
20+ # Install ntpd
21+ RUN apt-get install -y nginx-full
22+
2023# Add build script
2124RUN mkdir -p /root/setup
2225ADD build/setup.sh /root/setup/setup.sh
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- ntp
3+ /usr/sbin/ntpd -u ntp:ntp -p /var/run/ntpd.pid -g -n
You can’t perform that action at this time.
0 commit comments