User Account

- Put Kirby Admin Account into the Docker Image
- Updated to latest kirby version
This commit is contained in:
Thomas Ganter 2021-03-16 08:27:56 +01:00
parent c81053ccec
commit c4eb1163af
4 changed files with 18 additions and 3 deletions

View File

@ -4,14 +4,20 @@ WORKDIR /work
RUN \
apk update && \
apk add curl && \
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/master.zip && \
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/main.zip && \
unzip master.zip && \
cd plainkit-master && \
cd plainkit-main && \
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
COPY UCQ1Lrae /work/plainkit-main/site/accounts/UCQ1Lrae
# Just for checking what exactly is in there
#
# RUN find /work -print
############################
FROM php:8-fpm-alpine3.13
EXPOSE 9000
COPY --from=builder /work/plainkit-master /site
COPY --from=builder /work/plainkit-main /site

1
UCQ1Lrae/.htpasswd Normal file
View File

@ -0,0 +1 @@
$2y$10$x2M95T3k//JvX3fj99jxkeDrXzuxwIm387ic7bn9mIv8w1Cq9f/7W

8
UCQ1Lrae/index.php Normal file
View File

@ -0,0 +1,8 @@
<?php
return [
'email' => 'kirby-admin@germanzero.de',
'language' => 'de',
'name' => 'German Zero Admin',
'role' => 'admin'
];

0
UCQ1Lrae/user.txt Normal file
View File