formatting

This commit is contained in:
Swarup Sengupta
2022-06-18 12:12:51 +05:30
parent 68a7b0922f
commit 5bc7383835
+2 -1
View File
@@ -12,7 +12,8 @@ ENV DIR=/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]
RUN TARGET_PALTFORMS=${TARGETS:-"$BUILDOS/$BUILDARCH"}; \ RUN TARGET_PALTFORMS=${TARGETS:-"$BUILDOS/$BUILDARCH"}; \
mkdir -p ${DIR} && \ mkdir -p ${DIR} && \
curl -sL https://github.com/Psiphon-Labs/psiphon-tunnel-core/archive/refs/tags/v${VERSION}.tar.gz | tar xz -C ${DIR} --strip-components=1 && \ curl -sL https://github.com/Psiphon-Labs/psiphon-tunnel-core/archive/refs/tags/v${VERSION}.tar.gz | \
tar xz -C ${DIR} --strip-components=1 && \
(IFS=','; for PLATFORM in $TARGET_PALTFORMS; \ (IFS=','; for PLATFORM in $TARGET_PALTFORMS; \
do \ do \
OS=${PLATFORM%%/*} && \ OS=${PLATFORM%%/*} && \