File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11ARG SWIFT_VERSION
2- FROM swift:${SWIFT_VERSION}
2+ FROM docker.io/ swift:${SWIFT_VERSION}
33
44# If a default user exists, we have to delete it, so its uid:gid doesn't conflict with our own user.
55# https://github.com/devcontainers/images/blob/466aac5d06c87841d257cac96dd876afb9b7a578/src/base-ubuntu/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM --platform=$BUILDPLATFORM swift:6.0.2 AS build
3+ FROM --platform=$BUILDPLATFORM docker.io/ swift:6.0.2 AS build
44WORKDIR /workspace
55RUN swift sdk install \
66 https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz \
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ elif which docker > /dev/null 2>&1; then
2929 docker run --rm \
3030 --volume .:/workspace \
3131 --user " $( id -u) :$( id -g) " \
32- swift:6.0.2 \
32+ docker.io/ swift:6.0.2 \
3333 /workspace/scripts/format.sh
3434elif which podman > /dev/null 2>&1 ; then
3535 podman run --rm \
You can’t perform that action at this time.
0 commit comments