2021-12-14 15:04:58 +00:00
|
|
|
FROM docker.io/rust:1.57-alpine3.14 AS builder
|
|
|
|
RUN apk --update --no-cache add build-base pkgconf glib-dev gstreamer-dev libnice-dev openssl-dev
|
2021-08-16 07:13:10 +00:00
|
|
|
COPY . .
|
|
|
|
RUN cargo build --release -p gst-meet
|
|
|
|
|
|
|
|
FROM docker.io/alpine:3.14
|
2021-08-16 07:30:37 +00:00
|
|
|
RUN apk --update --no-cache add glib gstreamer libnice libc6-compat
|
2021-08-16 07:13:10 +00:00
|
|
|
COPY --from=builder target/release/gst-meet /usr/local/bin
|
|
|
|
ENTRYPOINT ["/usr/local/bin/gst-meet"]
|