index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2020-03-03 14:49:59.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2020-03-03 14:49:59.0 +00:00:00
commit
ba105e451608f9312350040ccbbe773460fed5a7 [patch]
tree
705211a6f6425db966111afda85dea6d98cfe2a0
parent
08d5847c96067d81fd71cf4bfff697dbe40425c4
download
ba105e451608f9312350040ccbbe773460fed5a7.tar.gz

refactor: rename scratch dockerfile template



Diff

 docker/scratch/Dockerfile.tmpl | 18 ------------------
 docker/scratch/tmpl.Dockerfile | 18 ++++++++++++++++++
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/docker/scratch/Dockerfile.tmpl b/docker/scratch/Dockerfile.tmpl
deleted file mode 100644
index e43b324..0000000
--- a/docker/scratch/Dockerfile.tmpl
+++ /dev/null
@@ -1,18 +0,0 @@
FROM scratch

LABEL maintainer="Jose Quintana <joseluisq.net>"

COPY ./bin/static-web-server /
COPY ./public /public

EXPOSE 80
VOLUME ["/public"]
ENTRYPOINT ["/static-web-server"]

# Metadata
LABEL org.opencontainers.image.vendor="Jose Quintana" \
    org.opencontainers.image.url="https://github.com/joseluisq/static-web-server" \
    org.opencontainers.image.title="Static Web Server" \
    org.opencontainers.image.description="A blazing fast static files-serving web server powered by Rust Iron." \
    org.opencontainers.image.version="$VERSION" \
    org.opencontainers.image.documentation="https://github.com/joseluisq/static-web-server"
diff --git a/docker/scratch/tmpl.Dockerfile b/docker/scratch/tmpl.Dockerfile
new file mode 100644
index 0000000..e43b324
--- /dev/null
+++ b/docker/scratch/tmpl.Dockerfile
@@ -0,0 +1,18 @@
FROM scratch

LABEL maintainer="Jose Quintana <joseluisq.net>"

COPY ./bin/static-web-server /
COPY ./public /public

EXPOSE 80
VOLUME ["/public"]
ENTRYPOINT ["/static-web-server"]

# Metadata
LABEL org.opencontainers.image.vendor="Jose Quintana" \
    org.opencontainers.image.url="https://github.com/joseluisq/static-web-server" \
    org.opencontainers.image.title="Static Web Server" \
    org.opencontainers.image.description="A blazing fast static files-serving web server powered by Rust Iron." \
    org.opencontainers.image.version="$VERSION" \
    org.opencontainers.image.documentation="https://github.com/joseluisq/static-web-server"