diff options
author | Juergen Werner <juergen@opensourcerouting.org> | 2019-12-03 21:24:02 +0100 |
---|---|---|
committer | Juergen Werner <juergen@opensourcerouting.org> | 2019-12-03 21:36:30 +0100 |
commit | c3a61f38038327bbceaebcb01f653bba3e73b3b8 (patch) | |
tree | a70c96dc97c70f00ff0161630c3129ac64e4087f /docker/alpine | |
parent | Merge pull request #5442 from opensourcerouting/mpls-label-stacks (diff) | |
download | frr-c3a61f38038327bbceaebcb01f653bba3e73b3b8.tar.xz frr-c3a61f38038327bbceaebcb01f653bba3e73b3b8.zip |
alpine: fix build on current 'edge' version of Alpine
The python2 packet py-sphinx was removed from the edge repository, so we
use pip to install it localy for the package build process.
Also abuild assumes it is executed in a git folder and fails if no .git
is found in the folder or its parent folders, so we work around this, by
initializing an empty git repo with `git init`.
Signed-off-by: Juergen Werner <juergen@opensourcerouting.org>
Diffstat (limited to 'docker/alpine')
-rw-r--r-- | docker/alpine/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index 88c8f88f8..ed6453e2b 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -42,6 +42,7 @@ USER builder RUN cd /dist \ && abuild-keygen -a -n \ && abuild checksum \ + && git init \ && abuild -r -P /pkgs/apk # This stage installs frr from the apk |