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

Updated README and Java sources. #5

Merged
merged 2 commits into from
Jun 23, 2022
Merged

Updated README and Java sources. #5

merged 2 commits into from
Jun 23, 2022

Conversation

ghost
Copy link

@ghost ghost commented Jun 8, 2022

No description provided.

@ghost ghost requested a review from krisfoster June 8, 2022 15:10

![](images/RMIL_Technology_Laptop_Bark_RGB_50.png#input)
```shell
```bash
mvn package -Pnative
Copy link
Author

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 \
Copy link
Author

@ghost ghost Jun 8, 2022

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
Copy link
Author

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 \
Copy link
Author

@ghost ghost Jun 8, 2022

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 -->
Copy link
Author

@ghost ghost Jun 8, 2022

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.
@krisfoster krisfoster merged commit aea7a07 into main Jun 23, 2022
@ghost ghost deleted the BH-Review branch April 4, 2023 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants