mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-13 08:15:26 +00:00
feat(code-server): install Docker CLI and gh from vendor apt repos
- Install the Docker CLI with its Compose and Buildx plugins, and the GitHub CLI, from Docker's and GitHub's signed apt repositories; drop their home installs and the GitLab CLI from the README. - Select the shell with SHELL and the start folder with DEFAULT_WORKSPACE instead of chsh and working_dir. - Add an optional CODE_SERVER_APP_NAME. - Document installing Java with SDKMAN.
This commit is contained in:
1 parent
03a2016f23
commit
c1ef9e7680
5 files changed
+84
-58
No files matched your search
@@ -3,15 +3,17 @@ services:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
hostname: ${SERVICE_HOSTNAME}
|
||||
working_dir: /workspace
|
||||
environment:
|
||||
- PASSWORD=${PASSWORD:?required}
|
||||
- TZ=Asia/Ho_Chi_Minh
|
||||
- DEFAULT_WORKSPACE=/workspace
|
||||
- SHELL=/bin/zsh
|
||||
- GIT_AUTHOR_NAME=${GIT_NAME}
|
||||
- GIT_AUTHOR_EMAIL=${GIT_EMAIL}
|
||||
- GIT_COMMITTER_NAME=${GIT_NAME}
|
||||
- GIT_COMMITTER_EMAIL=${GIT_EMAIL}
|
||||
- HOST=${SERVICE_HOSTNAME}
|
||||
# - CODE_SERVER_APP_NAME=${CODE_SERVER_APP_NAME:-code-server}
|
||||
volumes:
|
||||
- 'code-server-home:/home/coder'
|
||||
- 'code-server-workspace:/workspace'
|
||||
|
||||
Reference in new issue
Block a user