Skip to content

Commit

Permalink
docker: Fix jq installation error for focal
Browse files Browse the repository at this point in the history
`jq` is not available in the default repositories of the Ubuntu Focal image. To resolve this, adding the official jq package repository and then installing it.

Changelog-None.
  • Loading branch information
ShahanaFarooqui authored and endothermicdev committed May 7, 2024
1 parent 153567d commit e38c828
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/reprobuild/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ RUN apt-get update \
sudo \
unzip \
wget \
jq \
zip

# Download and install jq from official repository
RUN wget -O /usr/local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 \
&& chmod +x /usr/local/bin/jq

# install Python3.8 (more reproducible than relying on python3-setuptools)
RUN git clone https://github.com/pyenv/pyenv.git /root/.pyenv && \
apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit e38c828

Please sign in to comment.