alpine: remove hard coded version

This commit is contained in:
Shuanglei Tao
2017-02-18 16:38:59 +08:00
parent 8433e759ac
commit 3824ebe50a

View File

@@ -3,8 +3,7 @@ LABEL maintainer "Shuanglei Tao - tsl0922@gmail.com" \
maintainer "Damien Duportal - damien.duportal@gmail.com"
ENV GLIBC_VERSION=2.25-r0 \
LIBWEBSOCKETS_VERSION=2.1.1 \
TTYD_VERSION=1.3.0
LIBWEBSOCKETS_VERSION=2.1.1
RUN apk add --update --no-cache \
bash \
@@ -27,7 +26,7 @@ RUN apk add --update --no-cache \
&& apk add --no-cache "glibc-${GLIBC_VERSION}.apk" \
&& git clone --depth=1 -b "v${LIBWEBSOCKETS_VERSION}" https://github.com/warmcat/libwebsockets.git \
/tmp/libwebsockets \
&& git clone --depth=1 -b "${TTYD_VERSION}" https://github.com/tsl0922/ttyd.git \
&& git clone --depth=1 https://github.com/tsl0922/ttyd.git \
/tmp/ttyd \
&& mkdir -p /tmp/ttyd/build /tmp/libwebsockets/build \
&& cd /tmp/libwebsockets/build \