[ci] Pass IP for repo.radeon.com as docker buildargs

[ROCm/hip commit: 7ba09c4137]
이 커밋은 다음에 포함됨:
Maneesh Gupta
2017-07-11 11:21:53 +05:30
부모 390d0d5ef0
커밋 02bb8f3b1a
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
+3 -2
파일 보기
@@ -1,5 +1,6 @@
# Parameters related to building hip
ARG base_image
ARG REPO_RADEON=$REPO_RADEON
FROM ${base_image}
MAINTAINER Kent Knox <kent.knox@amd>
@@ -9,8 +10,8 @@ COPY *.deb /tmp/
# Install the debian package
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y curl \
&& curl -sL http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | apt-key add - \
&& echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main | tee /etc/apt/sources.list.d/rocm.list \
&& curl -sL http://$REPO_RADEON/rocm/apt/debian/rocm.gpg.key | apt-key add - \
&& echo deb [arch=amd64] http://$REPO_RADEON/rocm/apt/debian/ xenial main | tee /etc/apt/sources.list.d/rocm.list \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --allow-unauthenticated -y \
/tmp/hip_base-*.deb \
/tmp/hip_hcc-*.deb \