Skip to content
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

Merged
merged 6 commits into from
Mar 22, 2019

Conversation

gitoleg
Copy link
Contributor

@gitoleg gitoleg commented Feb 26, 2019

This PR updates vagrant/docker files due to new opam version.
Note, that sanboxing is disabled in docker files.

Copy link
Member

@ivg ivg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1,16 +1,50 @@
FROM ocaml/opam:debian
FROM debian:stretch
Copy link
Member

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?

@@ -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
Copy link
Member

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.

@@ -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
Copy link
Member

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


echo "" | sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

sudo sysctl kernel.unprivileged_userns_clone=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this?

@gitoleg gitoleg force-pushed the updates-virtual-env branch from 4064ae4 to c3e977c Compare March 19, 2019 17:47
@ivg ivg merged commit 3cacae7 into BinaryAnalysisPlatform:master Mar 22, 2019
@gitoleg gitoleg deleted the updates-virtual-env branch May 13, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants