-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06463a6
commit 9d095de
Showing
1 changed file
with
0 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 \ | ||
|
@@ -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"] |