Skip to content

Commit

Permalink
CASMHMS-6294: Remove 'go build' -i option and correct image name
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlv committed Dec 8, 2024
1 parent 3df83b4 commit 0bb055d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

### Build Base Stage ###
# Build base just has the packages installed we need.
FROM artifactory.algol60.net/docker.io/library/golang:1.23alpine AS build-base
FROM artifactory.algol60.net/docker.io/library/golang:1.23-alpine AS build-base

RUN set -ex \
&& apk -U upgrade \
Expand All @@ -50,9 +50,9 @@ FROM base AS builder

# Base image contains everything needed for Go building, just build.
RUN set -ex \
&& go build -v -tags musl -i github.com/Cray-HPE/hms-smd/v2/cmd/smd \
&& go build -v -tags musl -i github.com/Cray-HPE/hms-smd/v2/cmd/smd-loader \
&& go build -v -tags musl -i github.com/Cray-HPE/hms-smd/v2/cmd/smd-init
&& go build -v -tags musl github.com/Cray-HPE/hms-smd/v2/cmd/smd \
&& go build -v -tags musl github.com/Cray-HPE/hms-smd/v2/cmd/smd-loader \
&& go build -v -tags musl github.com/Cray-HPE/hms-smd/v2/cmd/smd-init


### Final Stage ###
Expand Down

0 comments on commit 0bb055d

Please sign in to comment.