Files
rocm-systems/docker/dockerfile-build-ubuntu-16.04
T
Maneesh Gupta e4c540d7dc [ci] New CI flow
- Removed hcc integration logic for now
- No longer publish docker images to artifactory or docker hub
- Switch to new docker images and new test node

Change-Id: Idb06bf0a52658d1869367cb38bb03ef4f1649103
2018-08-28 12:36:54 +05:30

15 строки
524 B
Plaintext

# Parameters related to building hip
ARG base_image
FROM ${base_image}
MAINTAINER Maneesh Gupta <maneesh.gupta@amd>
ARG user_uid
# 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,video --shell /bin/bash jenkins && \
mkdir -p /etc/sudoers.d/ && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' | tee /etc/sudoers.d/sudo-nopasswd