Small fix in build/Dockerfile (#1494)
## Description The `#` symbol not at the beginning is technically not valid and fails in podman. ref: https://docs.docker.com/engine/reference/builder/#format ## Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [x] 💻 CI/Deployment - [x] 🐹 Trivial/Minor ## Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> ## Test Plan <!-- How will this be tested prior to merging.--> - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
b82af44a93
commit
20c7d63834
@ -3,7 +3,7 @@ FROM golang:1.18-alpine as builder
|
|||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
COPY src .
|
COPY src .
|
||||||
|
|
||||||
ARG CORSO_BUILD_LDFLAGS="" # ldflags
|
ARG CORSO_BUILD_LDFLAGS=""
|
||||||
RUN go build -o corso -ldflags "$CORSO_BUILD_LDFLAGS"
|
RUN go build -o corso -ldflags "$CORSO_BUILD_LDFLAGS"
|
||||||
|
|
||||||
FROM alpine:3.16
|
FROM alpine:3.16
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user