diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-01-26 13:16:27 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-01-26 13:16:27 +0100 |
commit | 32bae0ef24706e11d9b072b5d2c99f33c26cf050 (patch) | |
tree | a8c91136e28254a381b42a418a116900df5368b8 | |
parent | 1daf1a0fc16033cd4c9e6f8bf1dfd3a90d369a64 (diff) | |
download | vyos-build-32bae0ef24706e11d9b072b5d2c99f33c26cf050.tar.gz vyos-build-32bae0ef24706e11d9b072b5d2c99f33c26cf050.zip |
Docker: ease opam pin call for vyconf
-rw-r--r-- | docker/Dockerfile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index b27abe39..bdbc9fae 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -219,10 +219,7 @@ RUN eval $(opam env --root=/opt/opam --set-root) && opam install -y \ # Build VyConf which is required to build libvyosconfig RUN eval $(opam env --root=/opt/opam --set-root) && \ - git clone https://github.com/vyos/vyconf.git /tmp/vyconf && \ - cd /tmp/vyconf && \ - git checkout v0.1 && \ - opam pin add vyconf . + opam pin add vyconf https://github.com/vyos/vyconf.git#v0.1 -y # Build libvyosconfig RUN eval $(opam env --root=/opt/opam --set-root) && \ |