https://github.com/alokkusingh/home-scheduler-task
home-scheduler-task
https://github.com/alokkusingh/home-scheduler-task
Last synced: 11 days ago
JSON representation
home-scheduler-task
- Host: GitHub
- URL: https://github.com/alokkusingh/home-scheduler-task
- Owner: alokkusingh
- Created: 2023-04-14T17:08:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T18:18:51.000Z (about 3 years ago)
- Last Synced: 2025-07-13T05:39:06.231Z (12 months ago)
- Language: Java
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Home Scheduler Task
Home Stack Scheduler Task
## Build
### Build base Image
GraalVM CE 22.3.0 ARMx64 builder image
```shell
docker buildx build --platform linux/arm64 --build-arg GRAALVM_VERSION=22.3.0 --build-arg JAVA_VERSION=java17 -t alokkusingh/graalvm-ce:22.3.0-java17-arm64 --output=type=docker -f Dockerfile.ol8-java17 .
```
```shell
docker push alokkusingh/graalvm-ce:22.3.0-java17-arm64
```
### Build Application image
```shell
docker build --progress=plain -f Dockerfile.native -t alokkusingh/home-scheduler-task:latest -t alokkusingh/home-scheduler-task:1.0.0 .
```
```shell
docker push alokkusingh/home-scheduler-task:latest
```
```shell
docker push alokkusingh/home-scheduler-task:1.0.0
```
```shell
docker run -d -p 8082:8082 --rm --name home-scheduler-task alokkusingh/home-scheduler-task
```
### Manual commands - go inside and run binary manually
```shell
docker run -it --entrypoint /bin/bash -p 8082:8082 --rm --name home-scheduler-task alokkusingh/home-scheduler-task
```
```shell
.\home-scheduler-service --java.security.egd=file:/dev/urandom --spring.profiles.active=prod
```
```shell
docker run -p 8082:8082 --rm --name home-scheduler-task alokkusingh/home-scheduler-task --java.security.egd=file:/dev/urandom --spring.profiles.active=prod
```