Sign inSign up

tshion/swift-repl

By tshion

Updated almost 4 years ago

You can use swift commands and vscode extension in a docker container.

Image
0

2.5K

tshion/swift-repl repository overview

SwiftREPLInDocker

You can use these features in a docker container.

If Apple release the extension, this image will be needless.

Quick Start

ParameterDescription
[mount path]Host OS's directory to mount to docker container.
[tag]Docker image tag.
Please check DockerHub/Tags.
Case1: Attach Visual Studio Code

When the above is ready, please try these.

  1. Run this.
docker run --rm --it -v [mount path]:/home/worker tshion/swift-repl:[tag]
  1. Open "Docker" tab in Visual Studio Code
  2. Select 2's container, and right click and select "Attach Visual Studio Code"
  3. Do initialize settings
  4. Open "Extension" tab in 4's Visual Studio Code, and install from vsix of /root/sourcekit-lsp-vscode-dev.vsix

Features

In detail, I would like you to check Dockerfile.

Blogs
Products
References

Tag summary

Content type

Image

Digest

sha256:52f71135a

Size

683.1 MB

Last updated

almost 4 years ago

docker pull tshion/swift-repl:2022-11-14-a