Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
PhasecoreX committed Aug 16, 2024
1 parent cac7b49 commit 2ac4926
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/ignore/
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM ocaml/opam:debian-12-ocaml-4.14 as builder
FROM ocaml/opam:debian-12-ocaml-4.14 AS builder

ENV PACKAGES="taglib mad lame vorbis cry samplerate opus fdkaac faad flac ocurl liquidsoap"

USER root

RUN set -eux; \
sed -i 's/^Components:.*/Components: main contrib non-free/g' /etc/apt/sources.list.d/debian.sources; \
apt-get update

RUN set -eux; \
sudo sed -i 's/^Components:.*/Components: main contrib non-free/g' /etc/apt/sources.list.d/debian.sources; \
sudo apt-get update; \
opam pin -ny git+https://github.com/savonet/ocaml-flac; \
opam depext --install $PACKAGES

RUN set -eux; \
Expand Down

0 comments on commit 2ac4926

Please sign in to comment.