Baseline Container.
This commit is contained in:
parent
a0def97fe9
commit
5de71ace42
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
|||
FROM docker.io/library/eclipse-temurin:21-jdk-alpine
|
||||
|
||||
RUN apk add curl bash git docker python3 py3-pip
|
||||
# git is required for checkout
|
||||
# python3 is required for pre-commit
|
||||
# node is required for Forgejo checkout
|
||||
RUN apk add curl bash git docker python3 py3-pip nodejs npm
|
||||
RUN pip3 install pre-commit --break-system-packages
|
||||
|
||||
# Create the user - builds do not run as root.
|
||||
|
@ -18,3 +21,4 @@ RUN rm ./coursier
|
|||
RUN mkdir -p /home/builder/.local/bin
|
||||
ENV PATH="${PATH}:/home/builder/.local/share/coursier/bin"
|
||||
ENV PATH="${PATH}:/home/builder/.local/bin"
|
||||
RUN git config --global init.defaultBranch main
|
4
build-and-push
Executable file
4
build-and-push
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
podman build --tag registry.garrity.co:8443/gs/ci-scala:latest .
|
||||
podman push registry.garrity.co:8443/gs/ci-scala:latest
|
Loading…
Add table
Reference in a new issue