1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:16:44 +02:00
dockerfiles/jenkins/arm/Dockerfile

34 lines
871 B
Docker
Raw Normal View History

2016-02-22 18:12:04 +08:00
#
# Dockerfile for jenkins-arm
#
2016-11-01 23:03:49 +08:00
FROM easypi/alpine-arm:edge
2016-05-03 14:05:55 +08:00
MAINTAINER EasyPi Software Foundation
2016-02-22 18:12:04 +08:00
ENV JENKINS_HOME /var/jenkins_home
RUN set -xe \
2016-08-25 18:51:59 +08:00
&& apk add --no-cache bash \
coreutils \
curl \
git \
2016-11-01 23:03:49 +08:00
openjdk8 \
2016-08-25 18:51:59 +08:00
openssh-client \
ttf-dejavu \
unzip \
zip \
2016-05-03 14:05:55 +08:00
&& addgroup -g 1000 jenkins \
&& adduser -h $JENKINS_HOME -u 1000 -G jenkins -s /bin/bash -D jenkins \
2016-02-22 18:12:04 +08:00
&& mkdir -p /usr/share/jenkins \
&& cd /usr/share/jenkins \
2016-08-25 18:51:59 +08:00
&& wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
2016-02-22 18:12:04 +08:00
VOLUME $JENKINS_HOME
WORKDIR $JENKINS_HOME
USER jenkins
EXPOSE 8080
CMD ["java", "-Djava.awt.headless=true", "-jar", "/usr/share/jenkins/jenkins.war"]