Skip to content

Commit

Permalink
[gitpod] Added Dockerfile and Maven task
Browse files Browse the repository at this point in the history
  • Loading branch information
spoenemann committed Aug 30, 2022
1 parent d8d7de6 commit 44f7114
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.class
bin/
.checkstyle
.hugo_build.lock
.svn/
target/
build/mvnrepo/
Expand Down
3 changes: 3 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM gitpod/workspace-full

RUN brew install hugo
15 changes: 9 additions & 6 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
image:
file: .gitpod.Dockerfile

ports:
- port: 1313

tasks:
- init: |
cd docs
hugo
hugo server
command: |
gp preview $(gp url 1313)/elk/
- name: Maven Build
init: mvn -f build/pom.xml package
- name: Hugo Website
before: cd docs
init: hugo
command: hugo server

0 comments on commit 44f7114

Please sign in to comment.