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

reduce Docker image sizes #2514

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 1 addition & 2 deletions dist/docker-images/cross-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ RUN apt-get -y update
RUN apt-get -y install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc-aarch64-linux-gnu
RUN apt-get -y install wget build-essential

COPY ./linux-build.sh /usr/local/bin/
RUN chmod a+rx /usr/local/bin/linux-build.sh
COPY --chmod=0755 ./linux-build.sh /usr/local/bin/
RUN wget -q https://go.dev/dl/${go_distribution_file}
RUN tar -xzf ${go_distribution_file} -C /usr/local/

Expand Down
3 changes: 1 addition & 2 deletions dist/docker-images/ziti-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ RUN groupadd --gid ${ZGID} ziggy \
&& chown -R ${ZUID}:${ZGID} ${HOME} \
&& chmod -R g+rwX ${HOME}
RUN mkdir -p /usr/local/bin
COPY ${ARTIFACTS_DIR}/${TARGETARCH}/${TARGETOS}/ziti /usr/local/bin/
RUN chmod 0755 /usr/local/bin/ziti
COPY --chmod=0755 ${ARTIFACTS_DIR}/${TARGETARCH}/${TARGETOS}/ziti /usr/local/bin/

RUN /usr/local/bin/ziti completion bash > /etc/bash_completion.d/ziti_cli

Expand Down
3 changes: 1 addition & 2 deletions dist/docker-images/ziti-tunnel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ RUN INSTALL_PKGS="util-linux iptables" && \
microdnf clean all

WORKDIR /netfoundry
COPY ./entrypoint.sh /
RUN chmod +x /entrypoint.sh
COPY --chmod=0755 ./entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "run" ]
Loading