Skip to content

Commit

Permalink
chore: pin Dockerfile Alpine version (#917)
Browse files Browse the repository at this point in the history
Pins the version of Alpine in the Dockerfile to avoid an issue where the
latest Aline does not work with sqllite.

[#186660285](https://www.pivotaltracker.com/story/show/186660285)
  • Loading branch information
blgm authored Dec 12, 2023
1 parent 58e9eda commit 305c982
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ ADD . /app
ARG CSB_VERSION=0.0.0
RUN CGO_ENABLED=1 GOOS=linux go build -o ./build/cloud-service-broker -ldflags "-X github.com/cloudfoundry/cloud-service-broker/utils.Version=$CSB_VERSION"

FROM alpine:latest
# Currently can't go to 3.19 due to issue: https://github.com/mattn/go-sqlite3/issues/1164#issuecomment-1848677118
FROM alpine:3.18

COPY --from=build /app/build/cloud-service-broker /bin/cloud-service-broker

Expand Down

0 comments on commit 305c982

Please sign in to comment.