In this boilerplate, we included the following packages out of the box:
code-server
for the VS Code in the browser
cloudflared
for accessing other ports through to Cloudflare Argo Tunnelcroc
for sharing files between computers without that Mega.nz (or Telegram client) chaoscodercom/code-server
, but we'll working on to bring it back using Linuxserver.io's images in the future.jq
for prettifying your JSON stuff, especially if parsing JSON responses from some APIs.curl
, wget
, and more.This template repository is good for:
deploy-code-server
template with all the things needed (including Helm Charts)code-server
instanceNote to new template maintainers: After completing this checklist, update links below and reset progress if you marked your repository as an template.
{cdrs-starter-pack, starter-pack, [Example Project], code-server-boilerplates/starter-pack, example-project}
. (Proceed at your own risk if replacing all files using this regexp.)charts/Chart.yaml
, reset the version into 0.1.0
. Also change the Chart name and Artifact Hub annonations.Dockerfile
. Just remember that anything requires systemd
will not work (particularly Snaps and Flatpaks, AppImages are not fine).
toolkits/virtual-machines/*bootstrapper
scripts to include needed tools lile what you did in your Dockerfile (optional, but recommended). Now, feel free to add systemd-required tools like Snaps, just look for these lines.############################################################
# Add your tools your users want to install on an fresh machine here ⬇
# For userland installs, like Node Version Manager,
# you may need to prefix "su coder" before the command.
# For global installs, nuke the sudo part since we're root.
# ...
# Add your tools your users want to install on an fresh machine here
############################################################
docs/deployment-guides
directory. Ensure that replace any https://cdrs-deploy.repohubdev.tk/<METHOD>/example-project
into https://cdrs-deploy.repohubdev.tk/<METHOD>/<SLUGGIFIED-PROJECT-NAME-HERE>
. (<METHOD>
is either railway
, heroku
, or divio
, but every PaaS with Dockerfile support should be fine)https://rtapp.tk/SERVICEHERE-thepinsteam
into https://rtapp.tk/SERVICEHERE-yourusernamehere
. Remember to create these shortlinks using our Kutt.it instance at https://rtapp.tk. (SERVICEHERE
is either linode
or digitalocean
)Andrei Jiroh, Code Server Boilerplates maintainers, and its Contributors
in LICENSE file into <Your name> and its Contributors
if you prefer not to bring this template into the @code-server-boilerplates
org. Otherwise, change it into <Your name>, Code Server Boilerplates maintainers, and its Contributors
.RecapTimeBot
into your repi as an collaborator (or as an outside collaborator with write access). Remember that the PAT we gave to you is valid for 2 years and can be renewable, as long as you comply with the policies.@code-server-boilerplates
org through mail and also an new issue in your repo on instructions.
v0.1.0
as the tag name and v0.1.0 - Initial release
as the release title. In the release description, describe the initial release as you prefer and publish! (Example release description available)
@MadeByThePinsHub/Community-Hubs-Network-Board
first by humans soon once you maintain atleast 3 boilerplates here, you can leave anytime) to help us maintain them, among other tasks.Documentation for template maintainers are now moving into this site soon, as we're preparing
to make these cdrs-docs.rtappp.tk
and csb-docs.rtapp.tk
short links active within 3-6 months. For the build process, the Debian base image in the root
Dockerfile uses the official image from the upstream called codercom/code-server
in Docker Hub.
In order for your contributions to count, you need to either duplicate the repo or generate anew one based on this one (which making updating the maintainers' docs harder). As per the GitHub Docs, contributions from forks are not counted except when merged to the upstream.
Most deployment documentation are moved into the Guides section.
In your Dockerfile, use ghcr.io/code-server-boilerplates/starter-pack
as your base image and then add your needed tools.
Don't forget to publish your changes so GitHub Actions will publish them for you.
# latest/stable = tracks latest image release
# develop = latest development image builds, usually new versions of code-server lands on first
# you can also drill down on commits based on their long SHA forms
FROM ghcr.io/code-server-boilerplates/starter-pack:latest
# Also the old cdr-*.<DISTRO-VERSION> is deprecated
# That same image is also available at RHQCR on same namespace and on
# Docker Hub as codeserverboilerplate as its namespace.
# ensures croc is up-to-date
RUN curl https://getcroc.schollz.com | sudo bash
# install our dotfiles
RUN git clone https://gitlab.com/MadeByThePinsHub/dotfiles /home/coder/.dotfiles
RUN bash /home/coder/.dotfiles/setup.sh --no-secrets-repo --noprompt --nosystemd
# no need for this one, but you can add it if needed
# CMD ["/usr/bin/cdr-launchpad-server"]
If you want to make your own deploy-code-server template by using our image, here's the final product you can generate from.
Dockerfile
or install script so they aren't destroyed on a rebuild. This is great if you want to have a new, clean environment every time you codeSupport resources are available at SUPPORT.md file.
This repository's contents is licensed under the MIT License. By contributing to this repository or participating in the community, you agree to Developer's Certificate of Origin and The Pins Team Community Code of conduct.