diff options
author | Jiayu Liu <Jimexist@users.noreply.github.com> | 2022-09-24 08:59:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 08:59:30 +0800 |
commit | fb7df3cbe614e379344c8241a4a9886e98512362 (patch) | |
tree | 3dd6d48cd6f1e7251566b9902400bf941e671627 /build | |
parent | 443412debc0bc0cf833cdedf7fa296680ce6537a (diff) | |
download | thrift-fb7df3cbe614e379344c8241a4a9886e98512362.tar.gz |
[build infra][ocaml] disable opam sandboxing for ubuntu bionic and focal (#2671)
* disable opam sandboxing for ubuntu focal
* update bionic as well
Diffstat (limited to 'build')
-rw-r--r-- | build/docker/ubuntu-bionic/Dockerfile | 3 | ||||
-rw-r--r-- | build/docker/ubuntu-focal/Dockerfile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/build/docker/ubuntu-bionic/Dockerfile b/build/docker/ubuntu-bionic/Dockerfile index a67335166..679f509f5 100644 --- a/build/docker/ubuntu-bionic/Dockerfile +++ b/build/docker/ubuntu-bionic/Dockerfile @@ -197,7 +197,8 @@ RUN apt-get install -y --no-install-recommends \ `# OCaml dependencies` \ ocaml \ opam && \ - opam init --yes && \ + `# disable sandboxing see https://github.com/ocaml/opam/issues/4327` \ + opam init --yes --disable-sandboxing && \ opam install --yes oasis RUN apt-get install -y --no-install-recommends \ diff --git a/build/docker/ubuntu-focal/Dockerfile b/build/docker/ubuntu-focal/Dockerfile index 3dffc5811..a9a9ab98a 100644 --- a/build/docker/ubuntu-focal/Dockerfile +++ b/build/docker/ubuntu-focal/Dockerfile @@ -197,7 +197,8 @@ RUN apt-get install -y --no-install-recommends \ `# OCaml dependencies` \ ocaml \ opam && \ - opam init --yes && \ + `# disable sandboxing see https://github.com/ocaml/opam/issues/4327` \ + opam init --yes --disable-sandboxing && \ opam install --yes oasis RUN apt-get install -y --no-install-recommends \ |