Pin specific commit for all Git clones

This helps ensure that container builds are reproducible if thirdparty
repositories change.
This commit is contained in:
Rémi Verschelde
2019-12-03 08:22:50 +01:00
parent ab3cdae9e0
commit d4d8ce85f2
3 changed files with 4 additions and 0 deletions

View File

@@ -5,11 +5,13 @@ RUN dnf -y install --setopt=install_weak_deps=False \
dnf clean all && \
git clone https://github.com/mackyle/xar.git && \
cd xar/xar && \
git checkout 66d451dab1ef859dd0c83995f2379335d35e53c9 && \
./autogen.sh --prefix=/usr && \
make -j && make install && \
cd /root && \
git clone https://github.com/NiklasRosenstein/pbzx && \
cd pbzx && \
git checkout 2a4d7c3300c826d918def713a24d25c237c8ed53 && \
clang -O3 -llzma -lxar -I /usr/local/include pbzx.c -o pbzx
CMD mkdir -p /root/xcode && \