update base image

This commit is contained in:
Sebastian Hugentobler 2017-01-10 16:16:11 +01:00
parent d7f3b3ba2b
commit 3b3521aee4
2 changed files with 11 additions and 3 deletions

9
.editorconfig Normal file
View File

@ -0,0 +1,9 @@
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4

View File

@ -3,8 +3,7 @@ FROM quay.io/thallian/confd-env:latest
RUN addgroup syncer RUN addgroup syncer
RUN adduser -h /app -D -G syncer syncer RUN adduser -h /app -D -G syncer syncer
RUN apk --no-cache add tar redis make git openssl perl gcc musl-dev pcre pcre-dev openssl-dev lua lua-dev unzip curl RUN apk --no-cache add tar redis make git libressl perl gcc musl-dev pcre pcre-dev libressl-dev lua lua-dev unzip curl luarocks
RUN apk --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted add luarocks5.1
WORKDIR /app WORKDIR /app
@ -34,7 +33,7 @@ RUN chown -R syncer:syncer /app
RUN ln -s /usr/lib/lua /usr/local/lib/lua RUN ln -s /usr/lib/lua /usr/local/lib/lua
RUN ln -s /usr/share/lua/ /usr/local/share/lua RUN ln -s /usr/share/lua/ /usr/local/share/lua
RUN apk del tar make git gcc musl-dev pcre-dev openssl-dev lua-dev RUN apk del tar make git gcc musl-dev pcre-dev libressl-dev lua-dev
EXPOSE 7200 EXPOSE 7200
VOLUME /var/lib/redis/ VOLUME /var/lib/redis/