apply self code review

Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
This commit is contained in:
denis-tingaikin
2025-03-16 01:26:40 +03:00
parent 9c82eed873
commit c6a7bae060
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM --platform=linux/amd64 golang:1.24.1 AS builder
FROM --platform=$BUILDPLATFORM golang:1.24.1 AS builder
ENV GO111MODULE=on
ENV CGO_ENABLED=0
ENV GOBIN=/bin
@@ -21,7 +21,7 @@ COPY . ./
RUN set -xe && GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /go/bin/stream ./cmd/stream
FROM --platform=linux/amd64 alpine
FROM --platform=$BUILDPLATFORM alpine
RUN set -xe && apk add --no-cache ffmpeg
RUN apk add --no-cache ca-certificates jq bash \