Skip to content

Commit

Permalink
Add GitPod config files
Browse files Browse the repository at this point in the history
Signed-off-by: rick <[email protected]>
  • Loading branch information
LinuxSuRen committed May 24, 2021
1 parent 286cb2a commit 7056225
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitpod.Dockerfile
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
13 changes: 13 additions & 0 deletions .gitpod.yml
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
2 changes: 2 additions & 0 deletions README.md
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)

0 comments on commit 7056225

Please sign in to comment.