-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (34 loc) · 998 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.13
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="alex-phillips"
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache \
curl \
php7 \
php7-ctype \
php7-gd \
php7-sqlite3 && \
echo "**** install stikked ****" && \
mkdir -p /app/stikked && \
if [ -z ${stikked_RELEASE+x} ]; then \
stikked_RELEASE=$(curl -sX GET "https://api.github.com/repos/claudehohl/stikked/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
curl -o \
/tmp/stikked.tar.gz -L \
"https://github.com/claudehohl/stikked/archive/${stikked_RELEASE}.tar.gz" && \
tar xf \
/tmp/stikked.tar.gz -C \
/app/stikked/ --strip-components=1 && \
echo "**** cleanup ****" && \
rm -rf \
/root/.cache \
/tmp/*
# copy local files
COPY root/ /
# ports and volumes
VOLUME /config