-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherrypicked (and Squashed) Dockerfile modifications.
renamed (duh!) (cherry picked from commit 574a76a) Finalized first version of Docker, Maven filters it into target, to build image: 1) mvn install 2) cd target && docker build ./ (...) (cherry picked from commit 699b725) fix. (cherry picked from commit 5afe547) Removed ls, added possibly needed chmod. (cherry picked from commit 7c6d444)
- Loading branch information
1 parent
049f683
commit c51648f
Showing
2 changed files
with
33 additions
and
10 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
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 |
---|---|---|
|
@@ -3,7 +3,10 @@ LABEL maintainer="[email protected]" | |
#ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 | ||
|
||
RUN mkdir /uAAL | ||
COPY ../../../target/assembly/* /uAAL/ | ||
COPY assembly/ /uAAL/ | ||
|
||
#RUN ls -lha /uAAL/ | ||
#RUN chmod +x /uAAL/bin | ||
|
||
VOLUME ["/uAAL/data"] | ||
VOLUME ["/uAAL/etc"] | ||
|
@@ -13,6 +16,6 @@ EXPOSE 8081 9000 | |
#TODO expose uAAL discovering and peering ports | ||
#EXPOSE 1099 8101 44444 # Karaf ports | ||
|
||
sed -i "21s/out/stdout/" /uAAL/etc/org.ops4j.pax.logging.cfg; | ||
RUN sed -i "21s/out/stdout/" /uAAL/etc/org.ops4j.pax.logging.cfg; | ||
|
||
CMD ["/uAAL/bin/karaf"] | ||
CMD ["/uAAL/bin/karaf"] |