-
Notifications
You must be signed in to change notification settings - Fork 10
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
Updated README and Java sources. #5
Conversation
|
||
![](images/RMIL_Technology_Laptop_Bark_RGB_50.png#input) | ||
```shell | ||
```bash | ||
mvn package -Pnative |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we tell the user to ignore the warnings here?
|
||
![](images/RMIL_Technology_Laptop_Bark_RGB_50.png#input) | ||
```shell | ||
```bash | ||
# Build a Docker Image | ||
docker build -f ./01-native-image/Dockerfile \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This required me to allocate more memory to docker (12G) to enable it to build.
@@ -556,20 +539,21 @@ te snippet from the `distroless` profile in the `pom.xml` that passes this param | |||
</buildArgs> | |||
``` | |||
|
|||
You can build your mostly statically linked native executable as follows - be aware this will only work on Linux. We will | |||
You can build your mostly-statically linked native executable as follows--be aware this will only work on Linux. We will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be rewritten somehow. It implies that you can't run the command but then provides the command. Perhaps it should just be deleted?
|
||
![](images/RMIL_Technology_Laptop_Bark_RGB_50.png#input) | ||
```shell | ||
```bash | ||
# Build a Docker Image | ||
docker build -f ./02-smaller-containers/Dockerfile \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This required me to allocate more memory to docker (12G) to enable it to build.
@@ -654,32 +641,49 @@ docker run --rm -d --name "jibber-distroless" -p 8080:8080 jibber:distroless.01 | |||
```shell | |||
curl http://localhost:8080/jibber | |||
``` | |||
And let's clean up after ourselves by killing the running container. | |||
|
|||
<!-- I added this section, but I don't have the numbers --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section needs reviewing by @krisfoster.
I managed to get the builds to work by allocating more memory to docker.
No description provided.