Fix: Do not remove required libstdc++

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-06 18:00:19 +01:00
parent 723a53f59a
commit 2386106172
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -4,11 +4,12 @@ LABEL maintainer Knut Ahlers <knut@ahlers.me>
ENV VERSION=9a8fb5c ENV VERSION=9a8fb5c
RUN set -ex \ RUN set -ex \
&& apk --update add git build-base zlib-dev lzo-dev lua5.1-dev \ && apk --no-cache add zlib-dev lzo-dev lua5.1-dev libstdc++ \
&& apk --no-cache add --virtual build-deps git build-base \
&& git clone https://github.com/carlosefr/kyoto.git /tmp/build \ && git clone https://github.com/carlosefr/kyoto.git /tmp/build \
&& cd /tmp/build && git reset --hard ${VERSION} && make PREFIX=/usr && make install \ && cd /tmp/build && git reset --hard ${VERSION} && make PREFIX=/usr && make install \
&& rm -rf /tmp/kyoto.tgz /tmp/build \ && rm -rf /tmp/kyoto.tgz /tmp/build \
&& apk del git && apk del build-deps
VOLUME /data VOLUME /data
EXPOSE 3000 EXPOSE 3000