TMP="/tmp/hello"
mkdir -p "$TMP"
docker run \
-t \
--rm \
-v "$TMP":/app \
-w /app \
cake233/swift-amd64 \
swift package init --type executable
docker run \
-t \
--rm \
-v "$TMP":/app \
-w /app \
cake233/swift-amd64 \
swift run --verbose
docker run \
-it \
--security-opt seccomp=unconfined \
--name swift-amd64 \
cake233/swift-amd64
docker exec -it swift-amd64 bash
[main]
name = "swift"
tag = ["latest", "2024-03-04", "nightly"]
os = "ubuntu"
release = "focal"
arch = "amd64"
platform = "linux/amd64"
xorg_or_wayland = false
syntax_version = "0.0.0-alpha.4"
[file]
name = "swift_amd64_2024-03-04_12-22.tar.zst"
# This value can be used to verify the integrity of the file
sha256 = "f7b3ea7ad2f28d624463479dbf691439110eef92eb68a7327ce99d57a8684299"
# zstd: [1-22]
zstd-level = 22
[file.size]
# Installed size ≈ tar-size
# Installed size is approximately equal to the size of the tar file
tar = "3.4G"
tar_bytes = 3559427072
# Space occupied ≈ tar-size + zstd-size
# You will need to prepare a large enough space before installation.
zstd = "583M"
zstd_bytes = 610916195
[compatibility]
compatible_mode = true
previous_version = "latest02"
# The value is &str, not int
previous_date = "20231120"
previous_tag = "2023-11-20"
previous_file = "swift_amd64_2023-11-20_12-21-rootfs.tar.zst"
previous_sha256 = "674129dd618228c9812ffe081793ea8d694cd9f0b408b6e1fa441a4d26bb6513"
current_version = "latest01"
current_date = "20240304"
old_file = "swift_amd64_2023-10-23_12-27-rootfs.tar.zst"
old_sha256 = "3501a5d0d67f07d6a5b76dcc49bd2af55edbb51a376c1c0563926bf9d673f507"
# edition 2021
# DISTRO_NAME=swift_amd64
# ROOTFS_FILE=swift_amd64_2024-03-04_12-22-rootfs.tar.zst
# SHA256SUM=f7b3ea7ad2f28d624463479dbf691439110eef92eb68a7327ce99d57a8684299
# BUILD_DATE=20240304
# BUILD_TAG=2024-03-04
# STATUS=completed
# VERSION=latest01
# END_TIME=12:22
[time]
format = "rfc-3339"
zone = "UTC"
date = 2024-03-04
begin = 2024-03-04 12:02:35.655602857+00:00
start-sync_0 = 12:05:32
start-zstd = 12:07:27
start-sync_1 = 12:22:08
end-sync_1 = 12:22:38
end = 2024-03-04 12:22:38.131973901+00:00
[server]
repo = "cake233/swift-amd64"
[server.node1]
name = "cn"
current = false
previous = false
in_sync = false
split = false
[server.node2]
name = "tmoe"
current = true
previous = true
in_sync = false
split = false
[server.node3]
name = "azure"
current = true
previous = true
in_sync = false
split = false
[server.node4]
name = "docker"
current = true
# Environment variables (●>ω<●)
[env]
LANG = "en_US.UTF-8"
[version]
ldd = 'ldd (Ubuntu GLIBC 2.31-0ubuntu9.14) 2.31'
git = 'git version 2.25.1'
swift = '''
Swift version 6.0-dev (LLVM 0c7823cab15dec9, Swift 0cc05909334c6f7)
Target: x86_64-unknown-linux-gnu
'''
Content type
Image
Digest
sha256:ef05929e2…
Size
1.1 GB
Last updated
over 2 years ago
docker pull cake233/swift-amd64