Compare commits

..

No commits in common. "48f386c3129c864287d78ca5970ed58fdb8b2677" and "f31390a3d99d75502d18cc4f14563761cd3d8b9f" have entirely different histories.

6 changed files with 22 additions and 17 deletions

5
.gitattributes vendored
View File

@ -72,9 +72,6 @@
*.tgz binary
*.zip binary
# Docker build files
Dockerfile text eol=lf
# Text files where line endings should be preserved
*.patch -text
@ -86,4 +83,4 @@ Dockerfile text eol=lf
.gitignore export-ignore
.gitkeep export-ignore
.vscode export-ignore
.idea export-ignore
.idea export-ignore

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<component name="ContentModelUserStore">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="RIDER_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$/../.." />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

3
.vscode/numbered-bookmarks.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"bookmarks": []
}

View File

@ -3,7 +3,7 @@
#
# allow dynamic build by specifying base image as build arg
ARG NODE_TAG="16.4.2-alpine3.14"
ARG NODE_TAG="16-alpine3.13"
FROM node:${NODE_TAG}
# change user id of node user
@ -16,12 +16,12 @@ RUN deluser --remove-home node \
RUN apk --update --no-cache add tzdata tini
# labels
LABEL org.opencontainers.image.authors="Asif Bacchus <asif@asifbacchus.dev>"
LABEL org.opencontainers.image.authors="Asif Bacchus <asif@bacchus.cloud>"
LABEL org.opencontainers.image.title="livereload npm"
LABEL org.opencontainers.image.description="Dockerized npm livereload running under limited user account. Environment variables allow specifying files to watch/exclude and notification delay."
LABEL org.opencontainers.image.url="https://git.asifbacchus.dev/ab-docker/livereload"
LABEL org.opencontainers.image.documentation="https://git.asifbacchus.dev/ab-docker/livereload/raw/branch/master/README.md"
LABEL org.opencontainers.image.source="https://git.asifbacchus.dev/ab-docker/livereload.git"
LABEL org.opencontainers.image.url="https://git.asifbacchus.app/ab-docker/livereload"
LABEL org.opencontainers.image.documentation="https://git.asifbacchus.app/ab-docker/livereload/raw/branch/master/README.md"
LABEL org.opencontainers.image.source="https://git.asifbacchus.app/ab-docker/livereload.git"
# create default volume in case user forgets to map one
VOLUME [ "/var/watch" ]
@ -50,9 +50,7 @@ CMD livereload /var/watch --debug --exts $EXT --exclusions $EXCLUDE -u true --wa
# set build timestamp and version labels
ARG BUILD_DATE
LABEL org.opencontainers.image.version="16.4.2"
LABEL org.opencontainers.image.vendor="nodeJS"
LABEL dev.asifbacchus.image.name="livereload npm"
LABEL dev.asifbacchus.image.version="1.2"
LABEL org.opencontainers.image.version="1.1"
LABEL org.opencontainers.image.vendor="nodeJS v16.3.0"
LABEL org.opencontainers.image.created=${BUILD_DATE}
#EOF

View File

@ -17,11 +17,11 @@ ## Contents
## Private docker repository
If you prefer, you can also use my private repository to download possibly newer containers. Simply change `asifbacchus/livereload:tag` to `docker.asifbacchus.dev/livereload/livereload:tag`.
If you prefer, you can also use my private repository to download possibly newer containers and/or signed containers. I sign all major release tags (e.g. '1', '2', etc.) and 'latest.' Simply change `asifbacchus/livereload:tag` to `docker.asifbacchus.app/livereload/livereload:tag`.
## Source/Issues
If you want the Dockerfile or if you want to bring an issue/request to my attention, please head to either my private [git server (preferred)](https://git.asifbacchus.dev/ab-docker/livereload) or [github](https://github.com/asifbacchus/livereload).
If you want the Dockerfile or if you want to bring an issue/request to my attention, please head to either my private [git server (preferred)](https://git.asifbacchus.app/ab-docker/livereload) or [github](https://github.com/asifbacchus/livereload).
## Environment variables
@ -93,4 +93,4 @@ ## Docker-Compose
## Final thoughts
That's it. Hopefully this is useful for you and makes it easier to run a live-reload server without having to install node on your machine. As always, let me know if you have any issues/suggestions by filing an issue on either git repo.
That's it. Hopefully this is useful for you and makes it easier to run a live-reload server without having to install node on your machine. As always, let me know if you have any issues/suggestions by filing an issue on either git repo.