Skip to content

Commit

Permalink
Bump turncat version to v0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
levaitamas committed May 29, 2024
1 parent a10c1a2 commit fbf2d2d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
# Download and compress external binaries
FROM alpine:3.20 as builder

ENV TURNCAT_VERSION=v0.19.0
ENV WEBSOCAT_VERSION=v1.13.0

WORKDIR /app
RUN apk add --no-cache curl upx
RUN echo $(apk --print-arch)
RUN curl -Lo websocat \
https://github.com/vi/websocat/releases/download/v1.13.0/websocat.$(apk --print-arch)-unknown-linux-musl \
https://github.com/vi/websocat/releases/download/$WEBSOCAT_VERSION/websocat.$(apk --print-arch)-unknown-linux-musl \
&& chmod a+x websocat \
&& upx --best --lzma websocat

Expand All @@ -17,7 +20,7 @@ RUN apkArch="$(apk --print-arch)"; \
*) export ARCH='amd64' ;; \
esac; \
curl -Lo turncat \
https://github.com/l7mp/stunner/releases/download/v0.18.0/turncat-v0.18.0-linux-$ARCH \
https://github.com/l7mp/stunner/releases/download/$TURNCAT_VERSION/turncat-$TURNCAT_VERSION-linux-$ARCH \
&& chmod a+x turncat \
&& upx --best --lzma turncat

Expand Down

0 comments on commit fbf2d2d

Please sign in to comment.