diff --git a/Dockerfiles/ImageBuild/Dockerfile b/Dockerfiles/ImageBuild/Dockerfile index 3d9cae7..635a580 100644 --- a/Dockerfiles/ImageBuild/Dockerfile +++ b/Dockerfiles/ImageBuild/Dockerfile @@ -2,7 +2,7 @@ FROM --platform=${BUILDPLATFORM} golang:1.24.6-alpine3.22 AS builder ARG TARGETARCH -RUN apk add git +# RUN apk add git #&& go install mvdan.cc/garble@latest WORKDIR /app diff --git a/shell-code/build-full.sh b/shell-code/build-full.sh index 49ffa60..5353d04 100644 --- a/shell-code/build-full.sh +++ b/shell-code/build-full.sh @@ -16,7 +16,7 @@ export GOCACHE="${HOME}/.cache/go-build" CURRENT_BRANCH=$(git branch --show-current) # Function to restore the original branch -function restore_branch { +restore_branch() { echo "Restoring original branch: ${CURRENT_BRANCH}" git checkout "${CURRENT_BRANCH}" }