Swift 6.4 installed to 6.2 directory in Docker image swiftlang/swift:nightly-6.4.x-debian

Open Beginner friendly
#583 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
docker, swift
Domain
devops

Research direction

Inspect the Docker image definition for swiftlang/swift:nightly-6.4.x-debian and trace how the Swift version and installation directory are selected. Reproduce the issue with which swift and swift --version in the image. Done means Swift 6.4 is installed under the matching 6.4 directory rather than /opt/swift/6.2.

Written by the indexing model from the issue text.

Description

In the Docker image swiftlang/swift:nightly-6.4.x-debian the swift 6.4 binary appears to be installed to the 6.2 directory:

$ which swift
/opt/swift/6.2/usr/bin/swift
$ /opt/swift/6.2/usr/bin/swift --version
Swift version 6.4-dev (LLVM 3704913b9103f85, Swift ef761e567dc94ee)
Target: aarch64-unknown-linux-gnu
Build config: +assertions
Dominant language
Dockerfile
Stars
1.4k
Forks
230
Avg merge
3d 6h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from swiftlang/swift-docker

All issues in swiftlang/swift-docker

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.