Just a tiny app to enter you into the Three Plus (Ireland) competitions automatically.
- Java 11+
- Scala 2.13
# sbt clean compile test
# sbt assembly
# sbt graalvm-native-image:packageBin
This will dockerise the GraalVM native binary. The docker image is based on alpine linux. First build the native binary using GraalVM
# sbt graalvm-native-image:packageBin
Then you can dockerise it:
# docker build --tag threepluscompetitionenterer:<version> .
Refer above to building and creating a jar, or download a pre-built jar from the release section.
The app expects some environment variables to be populated.
# THREEPLUS_USERNAME=<USERNAME> THREEPLUS_PASSWORD=<password> java -jar ThreePlusCompetitionApp.jar
Refer above to building and creating a native binary. The app expects some environment variables to be populated.
# THREEPLUS_USERNAME=<USERNAME> THREEPLUS_PASSWORD=<password> ./ThreePlusCompetitionApp
Refer above for creating a docker image
# docker run --rm=true --env THREEPLUS_USERNAME=<USERNAME> --env THREEPLUS_PASSWORD=<PASSWORD> threepluscompetitionenterer
Alternatively you can use the publically hosted image on Docker Hub: damo2k/threepluscompetitionenterer
# docker run --rm=true --env THREEPLUS_USERNAME=<USERNAME> --env THREEPLUS_PASSWORD=<PASSWORD> damo2k:threepluscompetitionenterer
This project is licensed under the MIT License - see the LICENSE.md file for details