# podman build --platform linux/amd64 -t ghcr.io/attila-lendvai/dwim-ci:amd64 -f Dockerfile.ci . # podman build --platform linux/arm64 -t ghcr.io/attila-lendvai/dwim-ci:arm64 -f Dockerfile.ci . # need to log in when run for the first time: # podman login ghcr.io -u attila-lendvai -p # podman push ghcr.io/attila-lendvai/dwim-ci:amd64 # podman push ghcr.io/attila-lendvai/dwim-ci:arm64 # the first time go to: # https://github.com/attila-lendvai?tab=packages&ecosystem=container # and make it public in package settings FROM docker.io/ubuntu:24.04 ENV DEBIAN_FRONTEND=noninteractive ARG TARGETARCH RUN echo TARGETARCH="$TARGETARCH" RUN apt-get update && \ apt-get install -y --no-install-recommends \ bash \ make \ postgresql \ postgresql-client \ libffi-dev \ openssl \ curl \ bzip2 \ sqlite3 \ sudo \ tar \ gcc \ git \ time \ ca-certificates \ # Conditional packages for x86 && rm -rf /var/lib/apt/lists/* RUN cd /tmp && \ version=2.6.1 && \ curl -L http://prdownloads.sourceforge.net/sbcl/sbcl-${version}-x86-64-linux-binary.tar.bz2 \ -o sbcl.tar.bz2 && \ tar -xjf sbcl.tar.bz2 && \ cd sbcl-${version}-x86-64-linux && \ ./install.sh # Ensure bash is the default shell # SHELL ["/bin/bash", "-c"] # WORKDIR /workspace