mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
34 lines
866 B
Docker
34 lines
866 B
Docker
#
|
|
# Dockerfile for jenkins-arm
|
|
#
|
|
|
|
FROM easypi/alpine-arm
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
ENV JENKINS_HOME /var/jenkins_home
|
|
|
|
RUN set -xe \
|
|
&& apk add --no-cache bash \
|
|
coreutils \
|
|
curl \
|
|
git \
|
|
openjdk7 \
|
|
openssh-client \
|
|
ttf-dejavu \
|
|
unzip \
|
|
zip \
|
|
&& addgroup -g 1000 jenkins \
|
|
&& adduser -h $JENKINS_HOME -u 1000 -G jenkins -s /bin/bash -D jenkins \
|
|
&& mkdir -p /usr/share/jenkins \
|
|
&& cd /usr/share/jenkins \
|
|
&& wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
|
|
|
|
VOLUME $JENKINS_HOME
|
|
WORKDIR $JENKINS_HOME
|
|
|
|
USER jenkins
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["java", "-Djava.awt.headless=true", "-jar", "/usr/share/jenkins/jenkins.war"]
|