mirror of
https://github.com/linuxserver/docker-smokeping.git
synced 2026-04-13 00:04:22 +08:00
Smokeping version call depends on curl
This commit is contained in:
parent
c7d9cfb44d
commit
533fe52f42
@ -12,6 +12,8 @@ COPY tcpping /defaults/
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl && \
|
||||
if [ -z ${SMOKEPING_VERSION+x} ]; then \
|
||||
SMOKEPING_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||
&& awk '/^P:smokeping$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
@ -23,7 +25,6 @@ RUN \
|
||||
apache-mod-fcgid \
|
||||
bc \
|
||||
bind-tools \
|
||||
curl \
|
||||
font-noto-cjk \
|
||||
openssh-client \
|
||||
smokeping==${SMOKEPING_VERSION} \
|
||||
|
||||
@ -12,6 +12,8 @@ COPY tcpping /defaults/
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl && \
|
||||
if [ -z ${SMOKEPING_VERSION+x} ]; then \
|
||||
SMOKEPING_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||
&& awk '/^P:smokeping$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
@ -23,7 +25,6 @@ RUN \
|
||||
apache-mod-fcgid \
|
||||
bc \
|
||||
bind-tools \
|
||||
curl \
|
||||
font-noto-cjk \
|
||||
openssh-client \
|
||||
smokeping==${SMOKEPING_VERSION} \
|
||||
|
||||
@ -12,6 +12,8 @@ COPY tcpping /defaults/
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl && \
|
||||
if [ -z ${SMOKEPING_VERSION+x} ]; then \
|
||||
SMOKEPING_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
|
||||
&& awk '/^P:smokeping$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
@ -23,7 +25,6 @@ RUN \
|
||||
apache-mod-fcgid \
|
||||
bc \
|
||||
bind-tools \
|
||||
curl \
|
||||
font-noto-cjk \
|
||||
openssh-client \
|
||||
smokeping==${SMOKEPING_VERSION} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user