Skip to content

Commit

Permalink
Merge pull request #1 from jchristgit/slim-down-image
Browse files Browse the repository at this point in the history
Slim down image to 15 MB
  • Loading branch information
jb3 authored Jun 10, 2024
2 parents 60aef54 + f9f566d commit 7b463a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
FROM debian:12-slim
FROM alpine:3.20

# Add inotify-tools for inotifywait
#
# We also install curl as scripts using this image often
# call HTTP webhooks.
RUN apt-get -y update && apt-get install -y \
curl \
inotify-tools \
jq \
&& apt autoclean \
&& rm -rf /var/lib/apt/lists/*
RUN apk add --no-cache curl inotify-tools jq

# Set our working directory
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion monitor.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

set -exo pipefail

Expand Down

0 comments on commit 7b463a2

Please sign in to comment.