This commit is contained in:
TheiLLeniumStudios
2023-02-06 15:01:34 +00:00
parent 2b203e7901
commit 3fa2c013e8
+2 -4
View File
@@ -1,8 +1,6 @@
# Container image that runs your code
FROM alpine:3.17
RUN apk add --no-cache curl tar git
# Use icecon instead. For some reason rcon-cli doesn't send a valid command
#ARG RCON_VERSION="0.10.2"
#
@@ -13,8 +11,8 @@ RUN apk add --no-cache curl tar git
ARG ICECON_VERSION="v1.0.0"
RUN curl -LO https://github.com/icedream/icecon/releases/download/${ICECON_VERSION}/icecon_linux_amd64 && \
mv icecon_linux_amd64 /usr/local/bin/icecon && \
RUN wget https://github.com/icedream/icecon/releases/download/${ICECON_VERSION}/icecon_linux_i386 && \
mv icecon_linux_i386 /usr/local/bin/icecon && \
chmod +x /usr/local/bin/icecon
# Copies your code file from your action repository to the filesystem path `/` of the container