Revert dockerfile changes and cleanup changelog

This commit is contained in:
Michael Eischer 2021-05-15 18:31:01 +02:00
parent cec241e5e1
commit 766f1e0c00
2 changed files with 6 additions and 6 deletions

View file

@ -11,10 +11,8 @@ RUN go build -o rest-server ./cmd/rest-server
FROM alpine
ENV DATA_DIRECTORY="/data"
ENV PASSWORD_FILE="/data/.htpasswd"
ENV DISABLE_AUTHENTICATION=""
ENV OPTIONS=""
ENV DATA_DIRECTORY /data
ENV PASSWORD_FILE /data/.htpasswd
RUN apk add --no-cache --update apache2-utils

View file

@ -1,6 +1,8 @@
Security: Fix Docker configuration for DISABLE_AUTHENTICATION
Bugfix: Fix Docker configuration for DISABLE_AUTHENTICATION
A regression was introduced which caused the DISABLE_AUTHENTICATION environment variable to stop working in Docker configurations, this was due to a new flag being introduced to disable authentication --no-auth.
A regression was introduced which caused the DISABLE_AUTHENTICATION environment
variable to stop working in Docker configurations. This has been fix by
automatically setting the option `--no-auth` to disable authentication.
https://github.com/restic/rest-server/issues/119
https://github.com/restic/rest-server/pull/124