diff --git a/.ci/server-base-image/Containerfile b/.ci/server-base-image/Containerfile new file mode 100644 index 0000000..0573618 --- /dev/null +++ b/.ci/server-base-image/Containerfile @@ -0,0 +1,5 @@ +FROM debian:bookworm-slim +RUN apt-get -y update && \ + apt-get -y install \ + ca-certificates && \ + rm -rf /var/lib/apt/lists/* diff --git a/.ci/server-base-image/push-image.sh b/.ci/server-base-image/push-image.sh new file mode 100755 index 0000000..4060ade --- /dev/null +++ b/.ci/server-base-image/push-image.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +sudo podman build -t quay.io/blasthavers/worldwideportal-baseimg:latest . +sudo podman push quay.io/blasthavers/worldwideportal-baseimg:latest diff --git a/container/Containerfile b/container/Containerfile index 4707926..1f622d1 100644 --- a/container/Containerfile +++ b/container/Containerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm-slim +FROM quay.io/blasthavers/worldwideportal-baseimg COPY wwpapp /frontendstatic COPY wwpserver/worldwideportal-server /bin/worldwideportal-server ENTRYPOINT ["/bin/worldwideportal-server"]