add gitpod.yml

master
Deng.Liu 2019-10-09 10:23:40 +00:00
parent 134f6e45f5
commit 08d421ebcb
2 changed files with 19 additions and 0 deletions

12
.gitpod.Dockerfile vendored Normal file
View File

@ -0,0 +1,12 @@
FROM gitpod/workspace-full
USER root
# Install custom tools, runtime, etc. using apt-get
# For example, the command below would install "bastet" - a command line tetris clone:
#
# RUN apt-get update \
# && apt-get install -y bastet \
# && apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
#
# More information: https://www.gitpod.io/docs/42_config_docker/

7
.gitpod.yml Normal file
View File

@ -0,0 +1,7 @@
image:
file: .gitpod.Dockerfile
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/44_config_start_tasks/
tasks:
- init: go get -d -v ./...
command: go build