Skip to content

Commit

Permalink
gitpod file added
Browse files Browse the repository at this point in the history
Signed-off-by: Pratyush-Saxena <pratyush.19b131054@abes.ac.in>
Signed-off-by: Pratyush-Saxena <52444607+Pratyush-Saxena@users.noreply.github.com>
Signed-off-by: Pratyush-Saxena <saxena18prats@gmail.com>
  • Loading branch information
Pratyush-Saxena authored and s-pratyush committed Sep 25, 2020
1 parent 828c72d commit 371a02f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM gitpod/workspace-full

USER gitpod
RUN sudo apt-get -q update && \
sudo apt-get install -yq bastet && \
sudo rm -rf /var/lib/apt/lists/*

# Install custom tools, runtime, etc. using apt-get
# For example, the command below would install "bastet" - a command line tetris clone:
#
# RUN sudo apt-get -q update && \
# sudo apt-get install -yq bastet && \
# sudo rm -rf /var/lib/apt/lists/*
#
# More information: https://www.gitpod.io/docs/config-docker/
12 changes: 12 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
image:
file: .gitpod.Dockerfile

# List the ports you want to expose and what to do when they are served. See https://www.gitpod.io/docs/config-ports/
ports:
- port: 3000
onOpen: open-preview

# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: echo 'init script' # runs during prebuild
command: echo 'start script'

0 comments on commit 371a02f

Please sign in to comment.