From ba105e451608f9312350040ccbbe773460fed5a7 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Tue, 3 Mar 2020 15:49:59 +0100 Subject: [PATCH] refactor: rename scratch dockerfile template --- docker/scratch/Dockerfile.tmpl | 18 ------------------ docker/scratch/tmpl.Dockerfile | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 docker/scratch/Dockerfile.tmpl create mode 100644 docker/scratch/tmpl.Dockerfile 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 " - -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 " + +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" -- libgit2 1.7.2