Skip to content

Commit c92de12

Browse files
author
Konstantin Nazarov
committed
Upgrade to alpine 3.5 and reduce image size
1 parent ce24341 commit c92de12

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# - luarocks
88
# - lua rock "lua-cjson" (is necessary to work with tarantool response, can be extended with env variable)
99

10-
FROM alpine:3.4
10+
FROM alpine:3.5
1111
MAINTAINER Konstantin Nazarov "mail@racktear.com"
1212

1313
RUN addgroup -S nginx \
@@ -45,7 +45,7 @@ RUN set -x \
4545
build-base \
4646
cmake \
4747
linux-headers \
48-
openssl-dev \
48+
libressl-dev \
4949
pcre-dev \
5050
zlib-dev \
5151
libxslt-dev \
@@ -57,17 +57,18 @@ RUN set -x \
5757
curl \
5858
perl-dev \
5959
unzip \
60+
gcc \
61+
perl \
6062
&& apk add --no-cache --virtual .run-deps \
6163
ca-certificates \
62-
openssl \
64+
libressl \
6365
pcre \
6466
zlib \
6567
libxslt \
66-
gcc \
6768
gd \
6869
geoip \
69-
perl \
7070
gettext \
71+
libgcc \
7172
&& : "---------- download nginx-devel-kit ----------" \
7273
&& git clone "$NGINX_DEVEL_KIT_URL" $NGINX_DEVEL_KIT_PATH \
7374
&& : "---------- download nginx-lua-module ----------" \

0 commit comments

Comments
 (0)