[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
nehemiaharchives committed Oct 13, 2022
1 parent ea9cea3 commit 2937dc3
Show file tree
Hide file tree
Showing 15 changed files with 970 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,6 @@ hs_err_pid*

#MacOS
.DS_Store

bbl_install/.kitchen/
bbl_install/.kitchen.local.yml
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM gradle:7.5.1-jdk17-focal as cache
COPY build.gradle gradle.properties settings.gradle ./
RUN gradle --no-daemon build --stacktrace

FROM gradle:7.5.1-jdk17-focal AS builder
RUN apt-get update && apt-get install fakeroot -y
COPY --from=cache /root/.gradle /root/.gradle
COPY build.gradle gradle.properties settings.gradle ./
COPY gradle/ gradle/
COPY src/ src/
RUN gradle --no-daemon jpackage --stacktrace

FROM scratch as release
COPY --from=builder /home/gradle/build/jpackage/linux/bbl_*.deb /build/jpackage/linux/
9 changes: 9 additions & 0 deletions bbl_install/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "test-kitchen"
gem "kitchen-dokken"
gem "kitchen-inspec"
gem "chefspec"
gem "chef"
Loading

0 comments on commit 2937dc3

Please sign in to comment.