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
parent
b6cffaaf50
commit
9c98321130
|
@ -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-*
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue