Skip to content

Commit f008a39

Browse files
committed
use fully qualified container name everywhere
1 parent 7dd2032 commit f008a39

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG 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

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
44
WORKDIR /workspace
55
RUN 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 \

scripts/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
3434
elif which podman > /dev/null 2>&1; then
3535
podman run --rm \

0 commit comments

Comments
 (0)