Name: workspace
Owner: cdnjs
Description: Dockerized CDNJS workspace
Created: 2017-03-30 13:22:03.0
Updated: 2018-05-07 11:58:34.0
Pushed: 2018-05-07 11:58:33.0
Homepage: null
Size: 26
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Use docker to pack our working environment, based on Ubuntu 18.04 (Bionic Beaver).
This docker environment will prepare the common repositories we need to work with CDNJS project, please note that due to the repository disk space use issue, a full cloned and checkouted cdnjs main repository will use more than 88 GB disk space, so we use a shallow cloned cdnjs main repository with sparseCheckout enabled.
You can download the image we built then load it, or build your own.
It'll take about 5 mins to load the docker images, it depends on your hardware performance, please get a cup of tea or coffee during the load process.
et https://cdnjs.peterdavehello.org/cdnjs-workspace-docker.txz
cker load --input cdnjs-workspace-docker.txz
or
cker build -t cdnjs-workspace .
cker run --hostname cdnjs-workspace -it cdnjs-workspace --name cdnjs-workspace bash
t config --global user.name "User"
t config --global user.email "User@github.com"
s-workspace / # cd ~/cdnjs/
s-workspace ~/cdnjs # ls
-extension/ autoupdate/ bot/ buildScript/ cdnjs/ cdnjs-drone-ci/ cdnjs-importer/ new-website/ script/ tutorials/ workspace/
cker start cdnjs-workspace
cker exec -it cdnjs-workspace bash
s-workspace / # cd ~/cdnjs/
s-workspace ~/cdnjs # ls
-extension/ autoupdate/ bot/ buildScript/ cdnjs/ cdnjs-drone-ci/ cdnjs-importer/ new-website/ script/ tutorials/ workspace/