feat: Updates readme, adds ci to build image when pushed.
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Failing after 6m35s
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Failing after 6m35s
This commit is contained in:
40
README.md
40
README.md
@@ -1,15 +1,39 @@
|
||||
# Swift development container
|
||||
|
||||
A development container built off swift / ubuntu as base image.
|
||||
A development container built off swift / ubuntu as base image. This is needed because
|
||||
I currently can not get swift to install on arch linux, so this
|
||||
is used to develop inside a docker container.
|
||||
|
||||
## Packages
|
||||
## Extra Packages
|
||||
|
||||
- swift
|
||||
- neovim + bob (neovim version manager)
|
||||
- bob (neovim version manager)
|
||||
- cmake
|
||||
- curl
|
||||
- git
|
||||
- just
|
||||
- neovim (nightly)
|
||||
- tmux
|
||||
- sudo
|
||||
- tree-sitter-cli
|
||||
- wget
|
||||
|
||||
## User + directory mounts
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
podman run -it --name "$(basename "$pwd")" \
|
||||
-v "$HOME/.config/nvim":/root/.config/nvim \
|
||||
-v "$HOME/.local/share/nvim":/root/.local/share/nvim \
|
||||
-v "$(pwd)":/root/dev \
|
||||
-w /root/dev \
|
||||
git.housh.dev/swift-dev:latest \
|
||||
/bin/bash
|
||||
```
|
||||
|
||||
### Notes
|
||||
|
||||
The above runs a container and names it so that it can be restarted
|
||||
in the future to continue working on a project.
|
||||
|
||||
The `-w | --workdir` is not required if you mount your project to the
|
||||
`/root/dev` folder, as that is the default declared by the container, it
|
||||
is shown here for clarity.
|
||||
|
||||
<! -- FIX: -->
|
||||
TODO
|
||||
|
||||
Reference in New Issue
Block a user