mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-24 02:25:00 +02:00
apply self code review
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
This commit is contained in:
+2
-2
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user