Areli Fuss | 547839b | 2017-08-22 15:34:37 +0300 | [diff] [blame] | 1 | FROM jetty:9.3-jre8 |
| 2 | |
| 3 | ARG HTTP_PROXY |
| 4 | ARG HTTPS_PROXY |
| 5 | |
| 6 | ENV HTTP_PROXY ${HTTP_PROXY} |
| 7 | ENV HTTPS_PROXY ${HTTPS_PROXY} |
| 8 | |
| 9 | RUN if [ ! -z ${HTTP_PROXY} ]; then echo "Acquire::http::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; fi && \ |
| 10 | if [ ! -z ${HTTPS_PROXY} ]; then echo "Acquire::https::proxy \"${HTTPS_PROXY}\";" >> /etc/apt/apt.conf; fi |
| 11 | |
| 12 | RUN apt-get -y update && apt-get -y install \ |
| 13 | apt-utils \ |
| 14 | curl \ |
| 15 | vim |
| 16 | |
| 17 | # install chef-solo |
| 18 | RUN curl -L https://omnitruck.chef.io/install.sh | bash |