-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from LinuxSuRen/gitpod
Add GitPod config files
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM gitpod/workspace-full | ||
|
||
# More information: https://www.gitpod.io/docs/config-docker/ | ||
# the following tools are not crucial tools here, don't need to install a particular version | ||
# * GitHub CLI (install via hd install cli/cli) | ||
# * s2i (hd install openshift/source-to-image) | ||
RUN sudo rm -rf /usr/bin/hd && \ | ||
curl -L https://github.com/LinuxSuRen/http-downloader/releases/download/v0.0.29/hd-linux-amd64.tar.gz | tar xzv && \ | ||
sudo mv hd /usr/local/bin && \ | ||
hd install cli/cli && \ | ||
hd install openshift/source-to-image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
- init: | | ||
git config --global user.name $GIT_AUTHOR_NAME | ||
git config --global user.email $GIT_COMMITTER_EMAIL | ||
gh repo fork --remote | ||
docker build . | ||
vscode: | ||
extensions: | ||
- eamodio.gitlens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/kubesphere/s2i-binary-container) | ||
|