https://github.com/mohamedelashri/sublime-docker
This is docker image to run sublime3 inside a container
https://github.com/mohamedelashri/sublime-docker
Last synced: 5 months ago
JSON representation
This is docker image to run sublime3 inside a container
- Host: GitHub
- URL: https://github.com/mohamedelashri/sublime-docker
- Owner: MohamedElashri
- Archived: true
- Created: 2021-09-06T16:05:02.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T07:39:20.000Z (over 3 years ago)
- Last Synced: 2025-03-03T08:26:28.235Z (7 months ago)
- Language: Dockerfile
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/MohamedElashri/sublime-docker/actions/workflows/docker-run.yml)
# sublime-docker
This docker image is to run sublime 3 inside a docker container## Installation
I would recommend using the `docker_setup.sh` script inside `scripts` folder to install and run the container and changing the env variables to your needs.
To use the script you have first to give it execusion permission. You should run the following
First clone this repository
```
git clone https://github.com/MohamedElashri/sublime-docker
```Then give execusion permission to the setup script
```
chmod +x scripts/docker_setup.sh
```Run the script
```
./docker_setup.sh
```You might want to change the default variables inside the setup script
## Variables
| Variable | description |
| -------- | -------- |
| `HOST_SUBLIME_DIR` | The location of where default workspace mounted in `Host` machine |
`HOST_SUBLIME_CONFIG_DIR` | The location Where to persist Sublime settings and installed packages|
`USER_NAME` | Username of the container |
`IMAGE_NAME` | Image name, default is `melashri/sublime` change it only if you have build it yourself or using another image available on Docker hub. |
``## Build image
In case you want to build image, specially if you want to use another sublime build version you can edit the `Dockerfile` and change `ARG SUBLIME_BUILD` to the suitable build number. Then you need to build the image
```
docker build . --file Dockerfile --tag sublime-docker:
```You will need to change ``, the default if you remove will be `latest` tag.