Skip to content

Commit 99a251d

Browse files
author
Maik Hummel
committed
Update image
1 parent a74b7da commit 99a251d

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ services:
44
- docker
55

66
script:
7-
- docker build -t nginx-basic-auth .
7+
- docker build -t nginx-basic-auth .

Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
FROM nginx:alpine
22

3+
ARG BUILD_DATE
4+
ARG BUILD_VERSION
5+
ARG VCS_REF
6+
7+
LABEL maintainer="Maik Hummel <[email protected]>" \
8+
org.label-schema.build-date=$BUILD_DATE \
9+
org.label-schema.version=$BUILD_VERSION \
10+
org.label-schema.vcs-ref=$VCS_REF \
11+
org.label-schema.schema-version="1.0" \
12+
org.label-schema.vcs-url="https://github.com/beevelop/docker-nginx-basic-auth.git" \
13+
org.label-schema.name="beevelop/nginx-basic-auth" \
14+
org.label-schema.vendor="Maik Hummel (beevelop)" \
15+
org.label-schema.description="Simple Docker image for basic authentication" \
16+
org.label-schema.url="https://beevelop.com/" \
17+
org.label-schema.license="MIT" \
18+
org.opencontainers.image.title="beevelop/nginx-basic-auth" \
19+
org.opencontainers.image.description="Simple Docker image for basic authentication" \
20+
org.opencontainers.image.licenses="MIT" \
21+
org.opencontainers.image.authors="Maik Hummel (beevelop)" \
22+
org.opencontainers.image.vendor="Maik Hummel (beevelop)" \
23+
org.opencontainers.image.url="https://github.com/beevelop/docker-nginx-basic-auth" \
24+
org.opencontainers.image.documentation="https://github.com/beevelop/docker-nginx-basic-auth/blob/master/README.md" \
25+
org.opencontainers.image.source="https://github.com/beevelop/docker-nginx-basic-auth.git"
26+
327
ENV HTPASSWD='foo:$apr1$odHl5EJN$KbxMfo86Qdve2FH4owePn.' \
428
FORWARD_PORT=80 \
529
FORWARD_HOST=web

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016-2020 Maik Hummel (beevelop)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)