-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updates vagrant/docker files #928
updates vagrant/docker files #928
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docker/debian/testing/Dockerfile
Outdated
@@ -1,16 +1,50 @@ | |||
FROM ocaml/opam:debian | |||
FROM debian:stretch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't they have vagrant images for the new opam, really?
docker/trusty/testing/Dockerfile
Outdated
@@ -1,6 +1,8 @@ | |||
FROM ubuntu:trusty | |||
MAINTAINER Ivan Gotovchits <ivg@ieee.org> | |||
RUN apt-get -y update && apt-get -y install \ | |||
|
|||
RUN apt-get -y update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nay, they are in a one RUN
for a reason. Docker caches each RUN
line, so it won't do update
again, and will proceed directly to install, which will lead to missing dependencies.
docker/xenial/testing/Dockerfile
Outdated
@@ -1,6 +1,8 @@ | |||
FROM ubuntu:xenial | |||
MAINTAINER Ivan Gotovchits <ivg@ieee.org> | |||
RUN apt-get -y update && apt-get -y install \ | |||
|
|||
RUN apt-get -y update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
join with &&
into one action
vagrant/jessie64/Vagrantfile
Outdated
|
||
echo "" | sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) | ||
|
||
sudo sysctl kernel.unprivileged_userns_clone=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's this?
4064ae4
to
c3e977c
Compare
This PR updates vagrant/docker files due to new
opam
version.Note, that
sanboxing
is disabled in docker files.