Skip to content

Commit

Permalink
gitpod: init for ubuntu docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyren authored and Kreyren committed Jan 7, 2020
1 parent 2490a3a commit a9c8828
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
18 changes: 15 additions & 3 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
FROM gentoo/stage3-amd64
FROM gitpod/workspace-full-vnc:latest

USER root

RUN emerge --sync
# Update apt repositories
RUN apt-get update

RUN emerge xlogo
# Upgrade the image
RUN apt upgrade -y
RUN apt dist-upgrade -y

# Get code dependencies
RUN apt install -y shellcheck

# Remove apt sources to clean up space
RUN rm -rf /var/lib/apt/lists/*

# Clean-up unneeded packages
RUN apt autoremove -y
16 changes: 10 additions & 6 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
image:
file: .gitpod.Dockerfile

github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true

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

# 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: echo 'init script' # runs during prebuild
# command: echo 'start script'
vscode:
extensions:
- [email protected]:16BMw7Jrwd/KkAhJrkHwqQ==
7 changes: 7 additions & 0 deletions workspace/kreytricks/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extensions.showBuiltin": true,
"shellcheck.customArgs": [
"--external-sources"
],
"editor.wordWrap": "on"
}

0 comments on commit a9c8828

Please sign in to comment.