Skip to content

Commit

Permalink
Merge pull request #45157 from thaJeztah/23.0_backport_update_shfmt
Browse files Browse the repository at this point in the history
[23.0 backport] Dockerfile: Update shfmt to 3.6.0
  • Loading branch information
neersighted committed Mar 16, 2023
2 parents 07f9061 + ae0cc08 commit a1fd2f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -237,7 +237,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
&& /build/gotestsum --version

FROM base AS shfmt
ARG SHFMT_VERSION=v3.0.2
ARG SHFMT_VERSION=v3.6.0
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg/mod \
GOBIN=/build/ GO111MODULE=on go install "mvdan.cc/sh/v3/cmd/shfmt@${SHFMT_VERSION}" \
Expand Down
4 changes: 2 additions & 2 deletions contrib/dockerize-disk.sh
Expand Up @@ -103,8 +103,8 @@ cat > $builddir/result/$new_image_id/json <<- EOS
EOS

if [ -n "$docker_base_image" ]; then
image_id=$(docker inspect -f "{{.Id}}" "$docker_base_image")
echo ", \"parent\": \"$image_id\"" >> $builddir/result/$new_image_id/json
image_id=$(docker inspect -f "{{.Id}}" "$docker_base_image")
echo ", \"parent\": \"$image_id\"" >> $builddir/result/$new_image_id/json
fi

echo "}" >> $builddir/result/$new_image_id/json
Expand Down

0 comments on commit a1fd2f2

Please sign in to comment.