Skip to content

Commit

Permalink
ci(build-docker): add dagger.io base layer
Browse files Browse the repository at this point in the history
  • Loading branch information
vpayno committed Aug 13, 2023
1 parent b08c94b commit f949ab7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/docker/layer-00.10-base-daggerio.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

# this path from for the container
# shellcheck disable=SC1091
. /.github/docker/include

layer_begin "$@"

echo curl -sSfL https://releases.dagger.io/dagger/install.sh \| sh
curl -sSfL https://releases.dagger.io/dagger/install.sh | sh || exit
printf "\n"

layer_end "$@"
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ COPY .github/docker /.github/docker

RUN .github/docker/layer-00.00-base-dependencies.sh ci-generic-debian

RUN .github/docker/layer-00.10-base-daggerio.sh ci-generic-debian

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY .github/docker/entrypoint.sh /entrypoint.sh

Expand Down

0 comments on commit f949ab7

Please sign in to comment.