{"id":13541823,"url":"https://github.com/martinussuherman/alpine-code-server","last_synced_at":"2025-07-02T09:06:04.961Z","repository":{"id":103488398,"uuid":"270576129","full_name":"martinussuherman/alpine-code-server","owner":"martinussuherman","description":"Minimal Alpine Linux with glibc based image for code-server. It enables one to run VS Code in the browser.","archived":false,"fork":false,"pushed_at":"2024-06-24T14:29:53.000Z","size":47,"stargazers_count":36,"open_issues_count":2,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T11:34:20.745Z","etag":null,"topics":["alpine","alpine-linux","code-server","docker","docker-image","dockerfile"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/martinussuherman/alpine-code-server","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinussuherman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-08T07:40:59.000Z","updated_at":"2025-02-28T15:24:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c40dbf2-3bbc-41dc-974d-197bf57815b1","html_url":"https://github.com/martinussuherman/alpine-code-server","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/martinussuherman/alpine-code-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinussuherman%2Falpine-code-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinussuherman%2Falpine-code-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinussuherman%2Falpine-code-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinussuherman%2Falpine-code-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinussuherman","download_url":"https://codeload.github.com/martinussuherman/alpine-code-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinussuherman%2Falpine-code-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263108812,"owners_count":23415006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","alpine-linux","code-server","docker","docker-image","dockerfile"],"created_at":"2024-08-01T10:00:57.426Z","updated_at":"2025-07-02T09:06:04.944Z","avatar_url":"https://github.com/martinussuherman.png","language":"Dockerfile","readme":"# alpine-code-server\r\n\r\n![GitHub](https://img.shields.io/github/license/martinussuherman/alpine-code-server) ![Docker Pulls](https://img.shields.io/docker/pulls/martinussuherman/alpine-code-server) ![Docker Stars](https://img.shields.io/docker/stars/martinussuherman/alpine-code-server)\r\n\r\n[![From Alpine](https://img.shields.io/badge/FROM-martinussuherman/alpine:glibc-brightgreen.svg)](https://hub.docker.com/r/martinussuherman/alpine)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/latest) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/latest)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.9.3-alpine3.12-amd64) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.9.3-alpine3.12-amd64)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.9.3-alpine3.12-arm64v8) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.9.3-alpine3.12-arm64v8)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.10.2-alpine3.12-amd64) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.10.2-alpine3.12-amd64)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.10.2-alpine3.12-arm64v8) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.10.2-alpine3.12-arm64v8)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.11.1-alpine3.13-amd64) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.11.1-alpine3.13-amd64)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.11.1-alpine3.13-arm64v8) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.11.1-alpine3.13-arm64v8)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.12.0-alpine3.13-amd64) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.12.0-alpine3.13-amd64)\r\n\r\n![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/martinussuherman/alpine-code-server/3.12.0-alpine3.13-arm64v8) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/martinussuherman/alpine-code-server/3.12.0-alpine3.13-arm64v8)\r\n\r\n---\r\n\r\n## What is this image for ?\r\n\r\nThis is an [Minimal Alpine Linux image with glibc](https://hub.docker.com/r/jeanblanchard/alpine-glibc) based image for [code-server](https://github.com/cdr/code-server/). It enables one to run [VS Code](https://code.visualstudio.com/) in the browser.\r\n\r\n---\r\n\r\n## Why use this image?\r\n\r\n*code-server* service on this container will run as `non-root` (`vscode`) user. This add an extra layer of security and are generally recommended for production environments. This container also allow mapping of the `user id` and `group id` of the user running docker to `vscode` user and group, which will enable the use of more restrictive file permission.\r\n\r\n---\r\n\r\n## How to use this image?\r\n\r\n### *Using docker run*\r\n\r\n```bash\r\n$ docker run --name code-server -v ~/path/on/host:/home/vscode -e TZ=Asia/Jakarta -e EUID=$(id -u) -e EGID=$(id -g) -p 8080:8080 martinussuherman/alpine-code-server\r\n```\r\nThis will set the `timezone` to Asia/Jakarta (you will want to change it to your own timezone) and map the `user id` and `group id` of the current user to `vscode` user and group.\r\n\r\n### *Using docker-compose*\r\n\r\n```yaml\r\nversion: '3'\r\n\r\nservices:\r\n  code-server:\r\n    image: martinussuherman/alpine-code-server\r\n    environment:\r\n      - TZ=Asia/Jakarta\r\n      - EUID=1001\r\n      - EGID=1001\r\n    volumes:\r\n      - ~/path/on/host:/home/vscode\r\n    ports:\r\n      - 8080:8080\r\n\r\n```\r\n\r\n*Note:*\r\n1. You will want to change the value for `EUID` and `EGID` with your current user `user id` and `group id`.\r\n2. *code-server* config file will be saved to `~/path/on/host/.config/code-server/config.yaml`\r\n","funding_links":[],"categories":["Images ☁️","Dockerfile"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinussuherman%2Falpine-code-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinussuherman%2Falpine-code-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinussuherman%2Falpine-code-server/lists"}