Skip to content

Commit 9f067f6

Browse files
authored
Merge pull request #4 from LinuxSuRen/gitpod
Add GitPod config files
2 parents b1a213e + 7056225 commit 9f067f6

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.gitpod.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM gitpod/workspace-full
2+
3+
# More information: https://www.gitpod.io/docs/config-docker/
4+
# the following tools are not crucial tools here, don't need to install a particular version
5+
# * GitHub CLI (install via hd install cli/cli)
6+
# * s2i (hd install openshift/source-to-image)
7+
RUN sudo rm -rf /usr/bin/hd && \
8+
curl -L https://github.com/LinuxSuRen/http-downloader/releases/download/v0.0.29/hd-linux-amd64.tar.gz | tar xzv && \
9+
sudo mv hd /usr/local/bin && \
10+
hd install cli/cli && \
11+
hd install openshift/source-to-image

.gitpod.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
tasks:
5+
- init: |
6+
git config --global user.name $GIT_AUTHOR_NAME
7+
git config --global user.email $GIT_COMMITTER_EMAIL
8+
gh repo fork --remote
9+
docker build .
10+
11+
vscode:
12+
extensions:
13+
- eamodio.gitlens

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[![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)
2+

0 commit comments

Comments
 (0)