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 06463a6 commit 9d095de
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@
# Environment: Ntfy.Sh
# Minimum Panel Version: 0.6.0
# ----------------------------------

# Stage 1: Use a base image that uses APT package manager to install bash
FROM openjdk:8-jdk-alpine AS build
# Install Bash
RUN apk add --no-cache bash busybox

# Stage 2: Rest of the script from ntfy
FROM binwiederhier/ntfy

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

MAINTAINER KamikazeJAM, <[email protected]>

RUN apk add --no-cache --update curl ca-certificates openssl git tar bash sqlite fontconfig \
Expand All @@ -28,7 +18,5 @@ WORKDIR /home/container
COPY ./server.yml /server.yml
COPY ./entrypoint.sh /entrypoint.sh

# Alphine Image
# CMD ["ls", "-a", "/bin"]
ENTRYPOINT ["/bin/bash"]
CMD ["/entrypoint.sh"]

0 comments on commit 9d095de

Please sign in to comment.