Skip to content

Commit

Permalink
use --platform for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Oct 26, 2024
1 parent a78053f commit 61e3ffb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile.arm64
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
ARG IMAGE=arm64v8/ubuntu

# build
FROM ubuntu:24.04 AS builder
LABEL [email protected]
Expand All @@ -25,7 +23,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
&& apt-get clean && rm -rf /var/lib/apt/lists/

# run
FROM $IMAGE
FROM --platform=arm64 ubuntu:24.04

WORKDIR /app/webrtc-streamer

Expand Down

0 comments on commit 61e3ffb

Please sign in to comment.