Skip to content

Commit 17ccd3a

Browse files
committed
docker: T7170: fix sed pattern for change in OPAM install.sh
1 parent a161a6b commit 17ccd3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ RUN dpkg-reconfigure ca-certificates; \
132132
# Installing OCAML needed to compile libvyosconfig
133133
RUN curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh \
134134
--output /tmp/opam_install.sh --retry 10 --retry-delay 5 && \
135-
sed -i 's/read -r BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
135+
sed -i 's/read_tty BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \
136136
opam init --root=/opt/opam --comp=${OCAML_VERSION} --disable-sandboxing --no-setup
137137

138138
RUN eval $(opam env --root=/opt/opam --set-root) && \

0 commit comments

Comments
 (0)