Skip to content
Snippets Groups Projects
Verified Commit 29921f25 authored by Karel Koci's avatar Karel Koci :metal: Committed by Josef Schlehofer
Browse files

gitlab-ci: add missing updater-ng dependency

The new version of updater-ng needs base64c. The easiest way is to
install base64c to the system to correctly work with it and thus this is
what it does.
parent e6096a18
Branches
Tags
2 merge requests!569Turris OS 6.0 (HBK),!533Draft: gitlab-ci: build docker image as part of the CI
Pipeline #104110 passed with stages
in 12 minutes and 47 seconds
......@@ -31,6 +31,14 @@ RUN apt-get -y install --no-install-recommends \
## And finally, clean apt cache to not be present in the final container
RUN apt-get clean
## Compile custom library base64c required by updater-ng
RUN \
git clone --branch "v0.2.1" "https://gitlab.nic.cz/turris/base64c.git" && \
cd base64c && \
./bootstrap && ./configure --prefix=/usr && make install && \
cd .. && \
rm -rf base64c
## Add a user for build environment as it is not possible to build OpenWrt as root
RUN useradd -ms /bin/bash -d /build build
USER build
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment