2021-12-15 11:05:42 +00:00
|
|
|
FROM docker.io/library/alpine:edge AS builder
|
|
|
|
RUN apk --no-cache --update upgrade --ignore alpine-baselayout \
|
|
|
|
&& apk --no-cache add curl \
|
|
|
|
&& curl -fL https://apk.avstack.net/avstack.rsa.pub -o "/etc/apk/keys/$(basename $(curl -LI --silent -w '%{url_effective}' https://apk.avstack.net/avstack.rsa.pub | tail -n 1))" \
|
|
|
|
&& apk --no-cache -X https://apk.avstack.net/main add gstreamer-dev gst-plugins-base-dev \
|
|
|
|
&& apk --no-cache add build-base libnice-dev openssl-dev cargo
|
2021-08-16 07:13:10 +00:00
|
|
|
COPY . .
|
|
|
|
RUN cargo build --release -p gst-meet
|
|
|
|
|
2021-12-15 11:05:42 +00:00
|
|
|
FROM docker.io/library/alpine:edge
|
|
|
|
RUN apk --update --no-cache upgrade --ignore alpine-baselayout \
|
|
|
|
&& apk --no-cache add curl \
|
|
|
|
&& curl -fL https://apk.avstack.net/avstack.rsa.pub -o "/etc/apk/keys/$(basename $(curl -LI --silent -w '%{url_effective}' https://apk.avstack.net/avstack.rsa.pub | tail -n 1))" \
|
|
|
|
&& apk --no-cache -X https://apk.avstack.net/main -X https://apk.avstack.net/community add gstreamer gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav \
|
|
|
|
&& apk --no-cache add libnice openssl
|
2021-08-16 07:13:10 +00:00
|
|
|
COPY --from=builder target/release/gst-meet /usr/local/bin
|
|
|
|
ENTRYPOINT ["/usr/local/bin/gst-meet"]
|