Skip to content

Commit

Permalink
Fix code rendering (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydahanne authored May 26, 2023
1 parent a61cbe7 commit 90d0edd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Most Paketo buildpacks provide a `scripts/build.sh` build script that you can us

Just run the script and then check you have your buildpacks `bin` and `detect` executable files generated:

```shell
```
> scripts/build.sh
> ls bin
build detect helper main
Expand All @@ -33,7 +33,7 @@ build detect helper main
### Mac arm64 note
If you're using a Mac arm64 (M1, M2, etc.), you may need to prepend `GOARCH="amd64"` to `scripts/build.sh` to specify that you want to build for `amd64` (it will help if you publish your image and then try to run it on a Linux amd64 host); like this:

```shell
```
GOARCH="amd64" ./scripts/build.sh
```

Expand All @@ -49,7 +49,7 @@ fork/exec /cnb/buildpacks/paketo-buildpacks_spring-boot/{{.version}}/bin/detect:

If you try to build a [sample Java project](https://github.com/paketo-buildpacks/samples/tree/main/java/maven) using your newly build `spring-boot` buildpack:

```shell
```
pack build -p ~/workspaces/paketo-buildpacks/samples/java/maven applications/maven-app \
-b .
```
Expand Down Expand Up @@ -206,7 +206,7 @@ Successfully published package anthonydahanne/java:fix-273

And of course be able to use it:

```shell
```
pack build -p ~/workspaces/paketo-buildpacks/samples/java/maven applications/maven-app -b anthonydahanne/java:fix-273
```

Expand Down

0 comments on commit 90d0edd

Please sign in to comment.