Skip to content

Instantly share code, notes, and snippets.

@leogsilva
Created July 10, 2018 19:20
Show Gist options
  • Select an option

  • Save leogsilva/23a8fa08d4d4e1ffbd33fd166ccbb9cb to your computer and use it in GitHub Desktop.

Select an option

Save leogsilva/23a8fa08d4d4e1ffbd33fd166ccbb9cb to your computer and use it in GitHub Desktop.
docker development environment for jenkins plugins
docker run -d --rm --name pause -p 8080:8080 -p 8000:8000 -p 9090:80 -p 8181:8181 dockermonster/pause-amd64:3.0
docker run -d \
--net=container:pause --ipc=container:pause --pid=container:pause \
--env JENKINS_OPTS=--httpPort=8181 \
--env JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n jenkins/jenkins:lts
docker run -d \
--net=container:pause --ipc=container:pause --pid=container:pause \
--name gitlab \
--restart always \
--privileged \
gitlab/gitlab-ee:10.8.5-ee.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment