[ci] Fixes to remove repo.radeon.com build-args

HiP docker images should inherit the repo information from the hcc image,
so no need to duplicate in HiP again


[ROCm/hip commit: ed82afad2e]
This commit is contained in:
Kent Knox
2017-07-14 17:28:16 -05:00
bovenliggende 34bad3bc29
commit c5104f9fca
3 gewijzigde bestanden met toevoegingen van 6 en 8 verwijderingen
@@ -18,7 +18,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# docker pipeline runs containers with uid 1000
# docker pipeline runs containers with particular uid
# create a jenkins user with this specific uid so it can use sudo priviledges
# Grant any member of sudo group password-less sudo privileges
RUN useradd --create-home -u ${user_uid} -G sudo --shell /bin/bash jenkins && \
@@ -1,6 +1,5 @@
# Parameters related to building hip
ARG base_image
ARG REPO_RADEON=$REPO_RADEON
FROM ${base_image}
MAINTAINER Kent Knox <kent.knox@amd>
@@ -10,8 +9,6 @@ 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/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 \