-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
19 lines (19 loc) · 855 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM alpine:latest
LABEL maintainer=Edgar131
ENV ASPHYXIA_VERSION=1.50
ENV ASPHYXIA_PLUGIN_VERSION=0.5
WORKDIR /usr/local/share
COPY bootstrap.sh .
RUN apk add gcompat libgcc libstdc++ &&\
wget https://github.com/asphyxia-core/asphyxia-core.github.io/releases/download/v${ASPHYXIA_VERSION}/asphyxia-core-linux-x64.zip &&\
wget https://github.com/asphyxia-core/plugins/archive/refs/tags/${ASPHYXIA_PLUGIN_VERSION}.zip &&\
mkdir -p ./asphyxia &&\
unzip asphyxia-core-linux-x64.zip -d ./asphyxia &&\
unzip ${ASPHYXIA_PLUGIN_VERSION}.zip -d ./ &&\
cp -r plugins-${ASPHYXIA_PLUGIN_VERSION}/* ./asphyxia/plugins &&\
mv ./asphyxia/plugins ./asphyxia/plugins_default &&\
mkdir -p ./asphyxia/plugins &&\
rm *.zip &&\
rm -rf plugins-${ASPHYXIA_PLUGIN_VERSION} &&\
chmod -R 774 ./asphyxia
CMD /usr/local/share/bootstrap.sh