Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker base image #339

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/strict-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM centos:latest
FROM registry.fedoraproject.org/fedora-minimal
WORKDIR /work
COPY target/shamrock-strict-example-1.0.0.Alpha1-SNAPSHOT-runner /work/shamrock-strict-example-runner
RUN chmod 777 /work
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/building-native-image-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Create the following `Dockerfile` in the `src/main/docker` (or wherever you want

[source]
----
FROM centos:7
FROM registry.fedoraproject.org/fedora-minimal
WORKDIR /work/
COPY target/*-runner /work/application
RUN chmod 775 /work
Expand Down
9 changes: 9 additions & 0 deletions docs/src/main/asciidoc/ide-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ mvn compile shamrock:dev
You can then update the application sources, resources and configurations.
The changes are automatically reflected in your running application.

== Debugging

You can run a Shamrock application in debug mode using:

[source]
mvn compile shamrock:dev -Ddebug=true

Then, attach your debugger to `localhost:5005`.

== Import in your IDE

Once you have a <<project-creation, project generated>>, you can import it in your favorite IDE.
Expand Down
2 changes: 1 addition & 1 deletion maven/src/main/templates/templates/dockerfile.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# docker run -i --rm -p 8080:8080 shamrock/${mProjectArtifactId}
#
###
FROM centos:7
FROM registry.fedoraproject.org/fedora-minimal
WORKDIR /work/
COPY target/*-runner /work/application
RUN chmod 775 /work
Expand Down