Skip to content

Commit

Permalink
Renamed entrypoint files to avoid layer caching
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed Oct 26, 2024
1 parent 75412a4 commit 44ae8a2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/deb/docker/Dockerfile.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \
mkdir -p /tmp/output

# It requires to copy the entrypoint.sh to the docker folder.
ADD entrypoint.sh /usr/local/bin/entrypoint.sh
ADD entrypoint_deb.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion pkg/deb/docker/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN echo 'Acquire::Retries "3";' > /etc/apt/apt.conf.d/80-retries && \
mkdir -p /tmp/output

# It requires to copy the entrypoint.sh to the docker folder.
ADD entrypoint.sh /usr/local/bin/entrypoint.sh
ADD entrypoint_deb.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/rpm/docker/Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN yum update -y && \
yum install -y rpm-build tar gcc git && \
mkdir -p /tmp/output

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
ADD entrypoint_rpm.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion pkg/rpm/docker/Dockerfile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN yum update -y && \
yum install -y rpm-build tar gcc git && \
mkdir -p /tmp/output

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
ADD entrypoint_rpm.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
File renamed without changes.

0 comments on commit 44ae8a2

Please sign in to comment.