vpnkit icon indicating copy to clipboard operation
vpnkit copied to clipboard

Trouble building the dockerfile

Open toperkin opened this issue 9 years ago • 0 comments

I'm on Windows 7 with docker 1.11

I've been trying to build with docker build -t vpnkit .

I got this error: 2016-07-05 09_02_08-mingw64__c_users_tony perkins_vpnkit admin

I suspected that the path to the packages might be incorrect in the Dockerfile. So I changed this RUN opam repo add dev /home/opam/src to RUN opam repo add dev /home/opam/src/opam/darwin

and it started complaining about . being an invalid token in the local directories. Based on the commit 54e7b199e02f7219204171a5cd0fa9334e45edc8, it seems like packages/local might only be needed for OSX.

So I removed them before adding the repo: RUN sudo rm -rf /home/opam/src/opam/darwin/packages/local RUN opam repo add dev /home/opam/src/opam/darwin

Everything seems to be building find, but I'm getting an error about topkg: 2016-07-05 14_09_59-mingw64__c_work_vpnkit admin

I tried a few things like adding a findlib to topkg in upstream but that didn't seem to work.

Do you have any ideas?

toperkin avatar Jul 06 '16 16:07 toperkin