This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a291b9f
commit a674860
Showing
4 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
docker exec -i -t prnfb /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
docker stop prnfb |