Skip to content

Commit

Permalink
fix(docker): fix bootstrap and dev docker image build (authelia#2857)
Browse files Browse the repository at this point in the history
This reverts commit 380e6fc. This change ensures that BUILDKIT is enabled to pick up the correct Dockerfile and .dockerignore files during the build process of the dev image.

Fixes authelia#2843. Closes authelia#2844.
  • Loading branch information
nightah authored Feb 8, 2022
1 parent b6cffaa commit 9c98321
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
25 changes: 2 additions & 23 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
# CI/Git Directories
.git
.cache
.buildkite
.github
coverage.txt
Dockerfile*

# Node Modules Directories
**/node_modules

# Documentation
docs
examples

# Dot Files and Markdown
.*
*.md

# Other
internal/server/public_html
authelia.service
bootstrap.sh
# Ignore All
*

# Overrides
!authelia-linux-*
Expand Down
3 changes: 2 additions & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ if [[ $(uname) == "Darwin" ]]; then
exit
fi

export PATH=$PATH:./cmd/authelia-scripts/:./.buildkite/steps/:$GOPATH/bin:./web/node_modules/.bin:/tmp
export PATH=$PATH:./cmd/authelia-scripts/:./.buildkite/steps/:$GOPATH/bin:./web/node_modules/.bin:/tmp \
DOCKER_BUILDKIT=1

if [[ -z "$OLD_PS1" ]]; then
OLD_PS1="$PS1"
Expand Down

0 comments on commit 9c98321

Please sign in to comment.