Skip to content

Commit

Permalink
Do not authenticate for github api
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Jan 7, 2025
1 parent e927238 commit 8c7b5e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ RUN apt update && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*

# https://github.com/intel/compute-runtime/releases
ARG GITHUB_ACTOR
ARG GITHUB_TOKEN
ARG INTEL_CR_VERSION
RUN mkdir /tmp/intel-compute-runtime && \
cd /tmp/intel-compute-runtime && \
curl -fsSL -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" "https://api.github.com/repos/intel/compute-runtime/releases/tags/${INTEL_CR_VERSION}" | jq -r '.body' | grep wget | grep -v .sum | grep -v .ddeb | sed 's|wget ||g' > list.txt && \
curl -fsSL "https://api.github.com/repos/intel/compute-runtime/releases/tags/${INTEL_CR_VERSION}" | jq -r '.body' | grep wget | grep -v .sum | grep -v .ddeb | sed 's|wget ||g' > list.txt && \
wget -i list.txt && \
dpkg -i *.deb && \
cd .. && \
Expand Down

0 comments on commit 8c7b5e3

Please sign in to comment.