diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-10-28 13:44:47 -0500 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2019-10-28 13:44:47 -0500 |
commit | bdce9244ff9acc57bf04a6c922cc78787aaa8174 (patch) | |
tree | f9a41f53178ffd8192376e8cc9469c86c9d2281e /docker | |
parent | 25bb74bc51f7ee36b8da834b8cb1ecc1aa1e5ea9 (diff) | |
download | vyos-build-bdce9244ff9acc57bf04a6c922cc78787aaa8174.tar.gz vyos-build-bdce9244ff9acc57bf04a6c922cc78787aaa8174.zip |
T1773: update Dockerfile for changes to libvyosconfig
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 3befeea0..b9fdae85 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -98,40 +98,24 @@ RUN apt-get update && apt-get install -y \ RUN curl https://raw.githubusercontent.com/ocaml/opam/2.0.2/shell/install.sh --output /tmp/opam_install.sh && \ sed -i 's/read BINDIR/BINDIR=""/' /tmp/opam_install.sh && sh /tmp/opam_install.sh && \ - opam init --root=/opt/opam --comp=4.07.0 --disable-sandboxing - -RUN eval $(opam env --root=/opt/opam --set-root) && \ - opam install -y \ - oasis + opam init --root=/opt/opam --comp=4.08.0 --disable-sandboxing RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \ - fileutils \ - lwt \ - lwt_ppx \ - lwt_log \ - ocplib-endian \ - ounit \ - pcre \ - ppx_deriving_yojson \ - sha \ - toml \ - xml-light \ - batteries \ - ocaml-protoc \ - ctypes-foreign \ - menhir + pcre RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \ - ctypes + ctypes \ + ctypes-foreign \ + ctypes-build # Build VyConf which is required to build libvyosconfig RUN eval $(opam env --root=/opt/opam --set-root) && \ - opam pin add vyconf https://github.com/vyos/vyconf.git#51d79a3f -y + opam pin add vyos1x-config https://github.com/vyos/vyos1x-config.git#550048b3 -y # Build libvyosconfig RUN eval $(opam env --root=/opt/opam --set-root) && \ git clone https://github.com/vyos/libvyosconfig.git && \ - cd libvyosconfig && git checkout 9a80a5d3 && \ + cd libvyosconfig && git checkout 5138b5eb && \ dpkg-buildpackage -uc -us -tc -b && \ dpkg -i ../libvyosconfig0_*_amd64.deb |