mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-04-24 14:47:06 -04:00
Directly set the env variable in the docker file.
When running from the CI, .bashrc is not sourced so we must set the env variable at docker file level.
This commit is contained in:
parent
b8160de652
commit
43024859b1
1 changed files with 5 additions and 1 deletions
6
.github/ci_images/bionic_builder.dockerfile
vendored
6
.github/ci_images/bionic_builder.dockerfile
vendored
|
@ -38,4 +38,8 @@ USER runner
|
|||
WORKDIR /home/runner
|
||||
ENV PATH /home/runner/.local/bin:$PATH
|
||||
|
||||
RUN echo "source /opt/qt515/bin/qt515-env.sh" >> /home/runner/.bashrc
|
||||
# Set qt515 environment (the equivalent of "source /opt/qt515/bin/qt515-env.sh")
|
||||
# RUN echo "source /opt/qt515/bin/qt515-env.sh" >> /home/runner/.bashrc
|
||||
ENV PATH=/opt/qt515/bin:$PATH \
|
||||
LD_LIBRARY_PATH=/opt/qt515/lib/x86_64-linux-gnu:/opt/qt515/lib:$LD_LIBRARY_PATH \
|
||||
PKG_CONFIG_PATH=/opt/qt515/lib/pkgconfig:$PKG_CONFIG_PATH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue