diff --git a/Dockerfile b/Dockerfile index 81b2068..0476331 100755 --- a/Dockerfile +++ b/Dockerfile @@ -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, RUN apk add --no-cache --update curl ca-certificates openssl git tar bash sqlite fontconfig \ @@ -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"]