Skip to content

Commit

Permalink
Merge pull request #361 from terrestris/adddockerfile
Browse files Browse the repository at this point in the history
Add dockerfile for dev purposes
  • Loading branch information
weskamm committed Jul 27, 2021
2 parents f2daffd + dc2131f commit 05d3c92
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions shogun-boot/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#
# SHOGun, https://terrestris.github.io/shogun/
#
# Copyright © 2020-present terrestris GmbH & Co. KG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM terrestris/openjdk-maven-docker
WORKDIR /shogun-boot

ENTRYPOINT [ \
"mvn", \
"spring-boot:run", \
"-Dspring-boot.run.profiles=base,boot", \
"-Dspring-boot.run.jvmArguments=-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:4711", \
"-Djava.security.egd=file:/dev/./urandom", \
"-Dcom.sun.management.jmxremote", \
"-Dcom.sun.management.jmxremote.port=9010", \
"-Dcom.sun.management.jmxremote.rmi.port=9010", \
"-Dcom.sun.management.jmxremote.local.only=false", \
"-Dcom.sun.management.jmxremote.authenticate=false", \
"-Dcom.sun.management.jmxremote.ssl=false" \
]

0 comments on commit 05d3c92

Please sign in to comment.