-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (26 loc) · 865 Bytes
/
Dockerfile
File metadata and controls
33 lines (26 loc) · 865 Bytes
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
FROM alpine
ARG APP_NAME="taskserver"
ARG APP_DESCRIPTION="A lightweight Alpine Taskwarrior server container"
ARG APP_VCS_REF
ARG APP_VCS_URL="https://github.com/GothenburgBitFactory/taskserver.git"
ARG APP_VERSION
ARG BUILD_DATE
ARG BUILD_VCS_REF
ARG BUILD_VCS_URL="https://github.com/uZer/docker-taskserver"
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.description=$APP_DESCRIPTION \
org.label-schema.name=$APP_NAME \
org.label-schema.schema-version="1.0" \
org.label-schema.url=$BUILD_REPO \
org.label-schema.vcs-ref=$APP_VCS_REF \
org.label-schema.vcs-url=$APP_VCS_URL \
org.label-schema.version=$APP_VERSION
WORKDIR /app
RUN set -x \
&& apk add --update taskd \
&& rm -rf /var/cache/apk/*
USER taskd
EXPOSE 53589
VOLUME /app/taskd_data
ENV TASKDATA=/app/taskd_data
CMD ["taskd"]