Skip to content

Commit 4be66e2

Browse files
committed
List pre-requisites
1 parent c9d10af commit 4be66e2

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,35 @@ GitHub repo for server images to use for local development with SteeltoeOSS.
44

55
## Building
66

7+
### Pre-Requisites
8+
9+
The following tools are required to build any image in this repository:
10+
11+
1. PowerShell or pwsh
12+
1. Docker or Podman
13+
14+
#### Config Server, Eureka and Spring Boot Admin
15+
16+
The process for these images is to download starter projects from start.spring.io, apply patches to those files and produce images using [the Gradle Plugin](https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html).
17+
To build these images you must also have:
18+
19+
1. Access to start.spring.io
20+
1. `patch` available in the path or installed with Git for Windows
21+
1. JDK 21
22+
23+
If you do not already have a JDK installed, consider using [Scoop](https://scoop.sh/):
24+
25+
```shell
26+
# Permit executing remote-signed scripts
27+
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
28+
# Install Scoop
29+
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
30+
# Add the Java bucket
31+
scoop bucket add java
32+
# Install the JDK
33+
scoop install java/openjdk21
34+
```
35+
736
### Build a specific image
837

938
```shell

0 commit comments

Comments
 (0)