Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: change build cache #1395

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile-ee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG VERSION

FROM registry.fit2cloud.com/jumpserver/koko:${VERSION}-ce
FROM jumpserver/koko:${VERSION}-ce
ARG TARGETARCH

ARG DEPENDENCIES=" \
Expand All @@ -18,7 +18,10 @@ ARG DEPENDENCIES=" \
wget \
xz-utils"

ARG APT_MIRROR=http://deb.debian.org

RUN set -ex \
&& sed -i "s@http://.*.debian.org@${APT_MIRROR}@g" /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends ${DEPENDENCIES} \
&& apt-get clean
Loading