forked from bootswithdefer/docker-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
17 lines (11 loc) · 1.38 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM jenkins/jenkins:2.259
MAINTAINER Jesse DeFer <[email protected]>
RUN /usr/local/bin/install-plugins.sh scm-api sonar saml cas-plugin ant artifactory docker-workflow git github github-branch-source maven-plugin workflow-api pipeline-aws pipeline-model-definition workflow-cps workflow-job workflow-multibranch jacoco junit ssh-agent ssh-credentials slack subversion pipeline-stage-view pipeline-milestone-step pipeline-input-step pipeline-build-step blueocean-pipeline-api-impl blueocean-jwt blueocean-jira matrix-auth hashicorp-vault-plugin blueocean-github-pipeline blueocean-git-pipeline git-server git-client blueocean-dashboard config-file-provider docker-custom-build-environment aws-credentials blueocean ansicolor ec2 aws-java-sdk role-strategy kubernetes aws-cloudwatch-logs-publisher configuration-as-code pipeline-utility-steps warnings-ng git-forensics templating-engine metrics extended-read-permission mask-passwords
USER root
RUN curl -sSfL -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.17.7/2020-07-08/bin/linux/amd64/kubectl && chmod a+rx /usr/local/bin/aws-iam-authenticator
USER jenkins
#COPY jenkins.yaml /casc_configs/
#ENV CASC_JENKINS_CONFIG /casc_configs
ENV JAVA_OPTS "-Xmx4g -Djenkins.install.runSetupWizard=false -Dorg.apache.commons.jelly.tags.fmt.timeZone=America/Phoenix ${JAVA_OPTS:-}"
ENV TZ "America/Phoenix"
EXPOSE 8080 50000