Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
Fiddling with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Jan 29, 2017
1 parent a291b9f commit a674860
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
20 changes: 4 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
FROM java:8-jdk
FROM dunkelfrosch/bitbucket

EXPOSE 7990

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

ADD src /usr/src/app/src
ADD README.md /usr/src/app
ADD pom.xml /usr/src/app
ADD setup-atlassian-sdk.sh /usr/src/app

RUN ./setup-atlassian-sdk.sh
ENV PATH opt/atlassian-plugin-sdk/bin:opt/atlassian-plugin-sdk/apache-maven-*/bin:$PATH
RUN atlas-version

ENTRYPOINT exec atlas-run
#COPY target/*jar /var/atlassian/application-data/bitbucket/plugins/
#COPY target/*.jar /var/atlassian/application-data/bitbucket/shared/plugins/installed-plugins
#RUN chmod a+rw /var/atlassian/application-data/bitbucket/shared
2 changes: 2 additions & 0 deletions docker-bash.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker exec -i -t prnfb /bin/bash
2 changes: 1 addition & 1 deletion docker-run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
docker run --name prnfb -d prnfb
docker run --name prnfb -p 7990:7990 -p 7999:7999 prnfb
2 changes: 2 additions & 0 deletions docker-stop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker stop prnfb

0 comments on commit a674860

Please sign in to comment.