File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,15 @@ LABEL "org.opencontainers.image.description"="A tool for easy ClickHouse backup
130130LABEL "org.opencontainers.image.source" ="https://github.com/Altinity/clickhouse-backup"
131131LABEL "org.opencontainers.image.documentation" ="https://github.com/Altinity/clickhouse-backup/blob/master/Manual.md"
132132
133- RUN apt-get update && apt-get install --no-install-recommends -y xxd bsdmainutils parallel curl wget && apt-get install -y gpg && curl -sL https://kopia.io/signing-key | gpg --dearmor --verbose -o /usr/share/keyrings/kopia-keyring.gpg && \
134- echo " deb [signed-by=/usr/share/keyrings/kopia-keyring.gpg] https://packages.kopia.io/apt/ stable main" > /etc/apt/sources.list.d/kopia.list && \
133+ RUN bash -xec " apt-get update && apt-get install --no-install-recommends -y xxd bsdmainutils parallel curl wget && apt-get install -y gpg && curl -sL https://kopia.io/signing-key | gpg --dearmor --verbose -o /usr/share/keyrings/kopia-keyring.gpg && \
134+ echo ' deb [signed-by=/usr/share/keyrings/kopia-keyring.gpg] https://packages.kopia.io/apt/ stable main' > /etc/apt/sources.list.d/kopia.list && \
135135 curl -sL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | gpg --dearmor --verbose -o /usr/share/keyrings/clickhouse-keyring.gpg && \
136- echo " deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=$(dpkg --print-architecture)] https://packages.clickhouse.com/deb stable main" > /etc/apt/sources.list.d/clickhouse.list && \
136+ echo ' deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=$(dpkg --print-architecture)] https://packages.clickhouse.com/deb stable main' > /etc/apt/sources.list.d/clickhouse.list && \
137137 apt-get update -y && \
138138 apt-get install --no-install-recommends -y ca-certificates tzdata bash curl restic rsync rclone jq gpg kopia libcap2-bin clickhouse-client && \
139139 update-ca-certificates && \
140- curl -sL " https://github.com/mikefarah/yq/releases/latest/download/yq_linux_$(dpkg --print-architecture)" -o /usr/bin/yq && chmod +x /usr/bin/yq && \
141- rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/*
140+ curl -sL ' https://github.com/mikefarah/yq/releases/latest/download/yq_linux_$(dpkg --print-architecture)' -o /usr/bin/yq && chmod +x /usr/bin/yq && \
141+ rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/*"
142142
143143COPY entrypoint.sh /entrypoint.sh
144144RUN chmod +x /entrypoint.sh
You can’t perform that action at this time.
0 commit comments