GitHub repo for server images to use for local development with SteeltoeOSS.
The following tools are required to build any image in this repository:
- PowerShell or pwsh
- Docker or Podman
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. To build these images you must also have:
- Access to start.spring.io
patch
available in the path or installed with Git for Windows- JDK 21
If you do not already have a JDK installed, consider using Scoop:
# Permit executing remote-signed scripts
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Install Scoop
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
# Add the Java bucket
scoop bucket add java
# Install the JDK
scoop install java/openjdk21
./build.ps1 config-server
docker images
See Common Tasks for instructions on how to run the various docker images.
Name | Description |
---|---|
steeltoe.azurecr.io/config-server | Spring Cloud Config Server |
steeltoe.azurecr.io/eureka-server | Netflix Eureka Server |
steeltoe.azurecr.io/spring-boot-admin | Spring Boot Admin |
steeltoe.azurecr.io/uaa-server | Cloud Foundry UAA Server |
Via StackOverflow, here are the commands to list files in a stopped container.
- Find the id of the stopped container
docker ps -a
- Commit the stopped container to a new image: test_image.
docker commit $CONTAINER_ID test_image
- Run the new image in a new container with a shell.
docker run -ti --entrypoint=sh test_image