File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,21 @@ RUN sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list \
4646 && sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list \
4747 && sed -i '/stretch-updates/d' /etc/apt/sources.list
4848
49- # Install git for direct mod loading and wget for the healthcheck
49+ # Install git for direct mod loading and wget for the healthcheck.
50+ # ca-certificates and ssh allow mods/bots to be installed via npm using
51+ # alternative formats such as:
52+ # - ScreepsMods/screepsmod-mymod#my-test-branch
53+ # - https://github.com/ScreepsMods/screepsmod-mymod@my-tag-or-commit-spec
5054RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
5155 --mount=type=cache,target=/var/lib/apt,sharing=locked \
5256 apt-get update \
53- && apt-get install -y --no-install-recommends git wget \
54- && rm -rf /var/lib/apt/lists/*
57+ && apt-get install -y --no-install-recommends \
58+ ca-certificates \
59+ git \
60+ wget \
61+ ssh \
62+ && rm -rf /var/lib/apt/lists/* \
63+ && update-ca-certificates
5564
5665USER node
5766COPY --from=screeps --chown=node:node /screeps /screeps/
You can’t perform that action at this time.
0 commit comments