mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-02-06 01:54:24 +01:00
alpine: remove hard coded version
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user