Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame] | 1 | FROM jetty:9.3-jre8-alpine |
| 2 | |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame] | 3 | USER root |
| 4 | |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame] | 5 | |
| 6 | # Install Chef |
| 7 | RUN set -ex && \ |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 8 | apk add --no-cache \ |
| 9 | jq=1.5-r5 \ |
Michael Lando | 18cba5c | 2018-06-03 18:06:57 +0300 | [diff] [blame] | 10 | curl=7.60.0-r1 \ |
| 11 | curl-dev=7.60.0-r1 \ |
Michael Lando | c789e6f | 2018-05-03 18:05:37 +0300 | [diff] [blame] | 12 | openssl-dev=1.0.2o-r0 \ |
| 13 | vim=8.0.1359-r0 \ |
| 14 | bash=4.4.19-r1 \ |
| 15 | build-base=0.5-r0 \ |
| 16 | ruby=2.4.4-r0 \ |
| 17 | ruby-dev=2.4.4-r0 \ |
| 18 | libffi-dev=3.2.1-r4 \ |
| 19 | libxml2-dev=2.9.7-r0 && \ |
| 20 | gem install \ |
| 21 | chef:13.8.5 \ |
| 22 | berkshelf:6.3.1 \ |
| 23 | io-console:0.4.6 \ |
Gary Wu | f2da63d | 2018-05-07 17:21:22 -0700 | [diff] [blame] | 24 | --no-document && \ |
| 25 | echo "http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && \ |
| 26 | apk update && \ |
| 27 | apk add binutils=2.30-r1 jq=1.6_rc1-r1 libtasn1=4.13-r0 |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame] | 28 | |
Areli, Fuss (af732p) | 10576b5 | 2018-03-25 14:22:44 +0300 | [diff] [blame] | 29 | # Replace Jetty user ID |
| 30 | COPY set_jetty_user.sh /tmp/set_jetty_user.sh |
| 31 | RUN sh -x /tmp/set_jetty_user.sh && rm -f /tmp/set_jetty_user.sh |
| 32 | RUN chown -R jetty:jetty ${JETTY_BASE}/webapps /var/lib/jetty |
Areli, Fuss (af732p) | 87faf9c | 2018-03-25 14:22:44 +0300 | [diff] [blame] | 33 | |
Areli Fuss | 0a3899f | 2017-11-19 13:28:08 +0200 | [diff] [blame] | 34 | USER jetty |
| 35 | |