Skip to content

Commit

Permalink
update dockerfile to include golang checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrozean committed Jul 2, 2024
1 parent 909f77e commit 094bac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ ENV PATH="/go/bin/:$PATH"

COPY --link --from=upx /upx /
COPY ./scripts/install_base_yum_packages.sh ./scripts/remove_yum_packages.sh ./scripts/common_vars.sh \
./scripts/install_golang.sh /
./scripts/install_golang.sh ./checksums/go-go1.21-${TARGETARCH}-checksum /
COPY $GOLANG_RPM_SOURCE_DIR/linux/arm64/go1.21*.tar.gz /tmp/linux/arm64/
COPY $GOLANG_RPM_SOURCE_DIR/linux/amd64/go1.21*.tar.gz /tmp/linux/amd64/
RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
Expand All @@ -376,7 +376,7 @@ ENV PATH="/go/bin/:$PATH"

COPY --link --from=upx /upx /
COPY ./scripts/install_base_yum_packages.sh ./scripts/remove_yum_packages.sh ./scripts/common_vars.sh \
./scripts/install_golang.sh /
./scripts/install_golang.sh ./checksums/go-go1.22-${TARGETARCH}-checksum /
COPY $GOLANG_RPM_SOURCE_DIR/linux/arm64/go1.22*.tar.gz /tmp/linux/arm64/
COPY $GOLANG_RPM_SOURCE_DIR/linux/amd64/go1.22*.tar.gz /tmp/linux/amd64/
RUN --mount=type=cache,target=/var/cache/yum,sharing=locked \
Expand Down

0 comments on commit 094bac3

Please sign in to comment.