-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlinux.Dockerfile
32 lines (21 loc) · 927 Bytes
/
linux.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
# escape=`
FROM lacledeslan/gamesvr-cssource
HEALTHCHECK NONE
ARG BUILDNODE=unspecified
ARG SOURCE_COMMIT=unspecified
LABEL com.lacledeslan.build-node=$BUILDNODE `
org.label-schema.schema-version="1.0" `
org.label-schema.url="https://github.com/LacledesLAN/README.1ST" `
org.label-schema.vcs-ref=$SOURCE_COMMIT `
org.label-schema.vendor="Laclede's LAN" `
org.label-schema.description="LL Counter-Strike Sourced Dedicated Server" `
org.label-schema.vcs-url="https://github.com/LacledesLAN/gamesvr-cssource-freeplay"
COPY --chown=CSSource:root /sourcemod.linux /app/cstrike
COPY --chown=CSSource:root /sourcemod-configs /app/cstrike
COPY --chown=CSSource:root /dist/cstrike /app/cstrike
COPY --chown=CSSource:root /dist/linux/ll-tests /app/ll-tests
RUN usermod -l CSSourceFreeplay CSSource && `
chmod +x /app/ll-tests/*.sh;
USER CSSourceFreeplay
WORKDIR /app/
ONBUILD USER root