4 Commits
0.1.1 ... 0.1.2

Author SHA1 Message Date
125209a99b feat: Adds swift backtrace build arg, defaults to disabling which currently prints a bunch of memory warnings.
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 13m54s
2025-12-01 13:12:05 -05:00
934598b6c7 fix: LSP doesn't work on slim variants, so remove those from ci builds.
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 4m32s
2025-11-12 14:37:02 -05:00
8cc12dfd2c feat: Test building with swift:slim, as a matrix strategy in ci.
All checks were successful
Create and publish a Docker image / build-and-push-image (latest) (push) Successful in 4m31s
Create and publish a Docker image / build-and-push-image (slim) (push) Successful in 3m10s
2025-11-12 14:17:20 -05:00
2286d8a63b feat: Test building with swift:slim, as a matrix strategy in ci.
Some checks failed
Create and publish a Docker image / build-and-push-image (latest) (push) Failing after 35s
Create and publish a Docker image / build-and-push-image (slim) (push) Failing after 35s
2025-11-12 14:16:01 -05:00
3 changed files with 12 additions and 13 deletions

View File

@@ -47,9 +47,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=sha
type=raw,value=latest
- name: Build and push Docker image
id: push

View File

@@ -1,4 +1,7 @@
FROM docker.io/swift:latest AS build
ARG SWIFT_VERSION="swift:latest"
ARG SWIFT_BACKTRACE="enable=no"
FROM docker.io/${SWIFT_VERSION} AS build
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
&& apt-get -q update \
@@ -13,7 +16,7 @@ RUN rustup default stable && \
/root/.cargo/bin/bob install nightly && \
/root/.cargo/bin/bob use nightly
FROM docker.io/swift:latest
FROM docker.io/${SWIFT_VERSION}
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
&& apt-get -q update \
@@ -34,6 +37,8 @@ PATH="/root/bin:/root/.local/share/bob/nvim-bin:$PATH"
alias n='nvim'
EOF
ENV SWIFT_BACKTRACE=${SWIFT_BACKTRACE}
WORKDIR /root/dev
VOLUME /root/dev

View File

@@ -1,8 +1,7 @@
# Swift development container
A development container built off swift / ubuntu as base image. This is needed because
I currently can not get swift to install on arch linux, so this
is used to develop inside a docker container.
A development container built off swift / ubuntu as base image. This is needed because I currently can not get swift to
install on arch linux, so this is used to develop inside a docker container.
## Extra Packages
@@ -29,10 +28,7 @@ podman run -it --name "$(basename "$PWD")" \
The default command will open neovim in the `/root/dev` folder.
The above runs a container and names it so that it can be restarted
in the future to continue working on a project.
The `-w | --workdir` is not required if you mount your project to the
`/root/dev` folder, as that is the default declared by the container, it
is shown here for clarity.
The above runs a container and names it so that it can be restarted in the future to continue working on a project.
The `-w | --workdir` is not required if you mount your project to the `/root/dev` folder, as that is the default
declared by the container, it is shown here for clarity.