Skip to content

Commit

Permalink
Set variables in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhsm committed Sep 12, 2023
1 parent 82ae5ef commit b450df8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM docker:20-cli

ENV CONTAINER_LABEL=docker-irestarter \
SIGNAL=""

RUN apk add --no-cache inotify-tools bash

COPY entrypoint.sh .
Expand Down
2 changes: 0 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/bin/bash
set -euo pipefail

CONTAINER_LABEL=docker-irestarter

if [[ -z $MONITOR_FILE ]]; then
echo "MONITOR_FILE can not be an empty string."
exit 1
Expand Down

0 comments on commit b450df8

Please sign in to comment.