-
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.
for unknown reason cron scheduler is not working, Changing base image to debian to see this will fix it
- Loading branch information
Showing
3 changed files
with
12 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
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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
FROM ekidd/rust-musl-builder:1.57.0 as builder | ||
COPY --chown=rust:rust . ./ | ||
|
||
RUN cargo build --release | ||
|
||
|
||
FROM alpine:3.15 | ||
|
||
FROM ubuntu:jammy | ||
ARG TZ=Asia/Tokyo | ||
COPY --from=builder \ | ||
/home/rust/src/target/x86_64-unknown-linux-musl/release/rs-net-radio /usr/local/bin/ | ||
RUN apk --no-cache add tzdata=2022a-r0 ffmpeg=~4.4 | ||
#python3 py3-pip musl-dev build-base alpine-sdk libxml2-dev libxslt-dev python3-dev \ | ||
#&& pip3 install streamlink | ||
RUN apt-get update -qqy && apt-get install --no-install-recommends tzdata=2022a-0ubuntu1 ca-certificates ffmpeg=7:4.4.2* libssl-dev=3.0.2-0ubuntu1.7 -y && apt-get autoremove && rm -rf /var/lib/apt/lists/* | ||
|
||
CMD ["/usr/local/bin/rs-net-radio"] |
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