Merge pull request #42 from Trivernis/develop

Add missing package for openssl-sys build
develop
Julius Riegel 3 years ago committed by GitHub
commit 9cff72aef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.0-experimental
FROM rust:slim-bullseye AS builder
RUN apt-get update
RUN apt-get install -y build-essential libssl-dev libopus-dev libpq-dev
RUN apt-get install -y build-essential libssl-dev libopus-dev libpq-dev pkg-config
WORKDIR /usr/src
RUN USER=root cargo new tobi
WORKDIR /usr/src/tobi
@ -25,7 +25,7 @@ RUN cp qalculate-3.18.0/* /tmp/qalculate
FROM bitnami/minideb:bullseye
RUN apt update
RUN apt install openssl libopus0 ffmpeg python3 python3-pip libpq5 -y
RUN apt install openssl libopus0 ffmpeg python3 python3-pip libpq5 pkg-config -y
COPY --from=qalculate-builder /tmp/qalculate/* /usr/bin/
COPY --from=builder /tmp/tobi/tobi-rs .
RUN pip3 install youtube-dl

Loading…
Cancel
Save