https://github.com/sydneyowl/code-server-updater
Code-server Updater.
https://github.com/sydneyowl/code-server-updater
code-server linux
Last synced: 10 months ago
JSON representation
Code-server Updater.
- Host: GitHub
- URL: https://github.com/sydneyowl/code-server-updater
- Owner: SydneyOwl
- License: mit
- Created: 2023-04-09T04:50:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-03T02:13:00.000Z (over 2 years ago)
- Last Synced: 2025-01-16T06:22:39.408Z (11 months ago)
- Topics: code-server, linux
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# README
  
This is the Experimental updater for https://github.com/SydneyOwl/docker-code-server.
Compatible for both full verison and pure version
## Build
To build:
```
docker build --build-arg CODE_RELEASE= `#optional` -t sydneymrcat/code-server-updater .
```
## Update Code-Server
Before updating, you should stop container:
```
docker stop code-server
```
Run following commands to update your code app:
```
docker pull sydneymrcat/code-server-updater:latest
docker run --rm -v code_app:/app sydneymrcat/code-server-updater:latest
```
code-server-updater always backup your original files when updating. You can manually delete them(/app/code-server*.bak.tar.gz)
**Make sure the update is successful, or don't delete them!**
## Undo changes
if there's something went wrong when updating, you could undo changes via:
```
docker run --rm -v code_app:/app \
-e RECOVER=1 \
-e BACKUP_FILE= `#optional` \
sydneymrcat/code-server-updater:latest
```
Note: BACKUP_FILE is optional. You may specify the name of it if you have multiple backups. (e.g. BACKUP_FILE=code-server2023_04_14_13_04.bak.tar.gz)
## VersionLog
v0.1.1 updater of Code-server v4.12.0
v0.1.0 Initial Release with updater of Code-server v4.11.0