Skip to content

Commit

Permalink
🐳 (alpine) version 1.3.3
Browse files Browse the repository at this point in the history
- Liquidsoap version 1.3.3
- OCaml version 4.05.0
- remove taglib because it doesn't compile with OCaml 4.05.0
  (savonet/ocaml-taglib#8)
  • Loading branch information
spameier committed May 13, 2020
1 parent 038370c commit efcb3aa
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ LABEL vendor="Radio Bern RaBe <http://rabe.ch>"
RUN apk add --no-cache \
alsa-lib-dev \
coreutils \
g++ \
lame-dev \
libmad-dev \
m4 \
Expand All @@ -15,21 +14,20 @@ RUN apk add --no-cache \
opam \
pcre-dev \
pkgconfig \
taglib-dev \
&& adduser -D liquidsoap \
&& mkdir -p /var/{log/liquidsoap,run/liquidsoap} \
&& chown liquidsoap /var/{log/liquidsoap,run/liquidsoap}

USER liquidsoap

ENV OCAML_VERSION 4.10.0
ENV OCAML_VERSION 4.05.0
ENV PATH /home/liquidsoap/.opam/${OCAML_VERSION}/bin:${PATH}
RUN opam init --disable-sandboxing --auto-setup \
&& opam switch create ${OCAML_VERSION} \
&& opam install --yes alsa cry lame mad taglib \
&& opam install --yes alsa cry lame mad \
&& opam clean

ENV LS_VERSION 1.4.2
ENV LS_VERSION 1.3.3
RUN opam install --yes liquidsoap.${LS_VERSION} \
&& opam clean

Expand Down

0 comments on commit efcb3aa

Please sign in to comment.