This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Try to use Docker container from crops:yocto/ubuntu-16
Signed-off-by: Olev Kartau <[email protected]>
- Loading branch information
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM crops/yocto:ubuntu-16.04-base | ||
|
||
# non-default docker proxy vars | ||
ARG ALL_PROXY | ||
ARG socks_proxy | ||
ARG SOCKS_PROXY | ||
|
||
ENV JENKINS_HOME /var/lib/jenkins | ||
|
||
ARG user=jenkins | ||
ARG group=jenkins | ||
ARG uid=1000 | ||
ARG gid=1000 | ||
|
||
USER root | ||
|
||
RUN groupadd -o -g ${gid} ${group} \ | ||
&& useradd -d "$JENKINS_HOME" -u ${uid} -g ${gid} -m -s /bin/bash ${user} | ||
|
||
# VOLUME ${JENKINS_HOME} | ||
|
||
USER jenkins | ||
WORKDIR ${JENKINS_HOME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters