fix(docker): fix bootstrap and dev docker image build (#2857)

This reverts commit 380e6fccb6. 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 #2843. Closes #2844.
pull/2858/head
Amir Zarrinkafsh 2022-02-08 16:09:45 +11:00 committed by GitHub
parent b6cffaaf50
commit 9c98321130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 24 deletions

View File

@ -1,26 +1,5 @@
# CI/Git Directories # Ignore All
.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
# Overrides # Overrides
!authelia-linux-* !authelia-linux-*

View File

@ -5,7 +5,8 @@ if [[ $(uname) == "Darwin" ]]; then
exit exit
fi 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 if [[ -z "$OLD_PS1" ]]; then
OLD_PS1="$PS1" OLD_PS1="$PS1"