Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Moore authored Oct 18, 2023
1 parent 512baed commit 618d61c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@
# ----------------------------------

# Stage 1: Use a base image that uses APT package manager to install bash
# FROM debian:bullseye as builder
FROM openjdk:8-jdk-alpine as builder
# Install Bash
# RUN apt-get update && apt-get install -y bash
RUN apk add --no-cache --update curl ca-certificates openssl git tar bash sqlite fontconfig

# Stage 2: Rest of the script from ntfy
# FROM binwiederhier/ntfy
FROM openjdk:8-jdk-alpine
FROM binwiederhier/ntfy

# Copy the Bash binary from the builder stage to the final image
# COPY --from=builder /bin/bash /bin/bash
COPY --from=builder /bin/bash /bin/bash

MAINTAINER KamikazeJAM, <[email protected]>

Expand Down

0 comments on commit 618d61c

Please sign in to comment.