Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross arch builds, upstream debian and yt/pipes fixes #6

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:jessie
FROM debian

MAINTAINER Werner Beroux <[email protected]>

Expand Down Expand Up @@ -32,13 +32,12 @@ RUN apt-get update \
vlc \
watch \
xaos \

&& echo "Install lolcat and youtube-dl" \
&& echo "deb http://http.us.debian.org/debian sid main non-free contrib" >> /etc/apt/sources.list \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
lolcat \
youtube-dl \
ffmpeg \

&& echo "Install youtube-dl" \
&& curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/bin/youtube-dl \
&& chmod 755 /usr/bin/youtube-dl \

&& echo "Install asciiquarium" \
&& cpan -i Term::Animation \
Expand All @@ -53,7 +52,7 @@ RUN apt-get update \
&& chmod +x /usr/local/bin/falling-hearts \

&& echo "Install pipes" \
&& curl -L https://gist.githubusercontent.com/livibetter/4689307/raw/949e43fe2962c2c97c8b1d974ff93dd053d9bd37/pipes.sh -o /usr/local/bin/pipes \
&& curl -L https://raw.githubusercontent.com/pipeseroni/pipes.sh/refs/heads/master/pipes.sh -o /usr/local/bin/pipes \
&& chmod +x /usr/local/bin/pipes \

&& echo "Clean-up" \
Expand Down
11 changes: 11 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

# Setup buildx environment
docker buildx create --name build_cross --driver-opt env.BUILDKIT_STEP_LOG_MAX_SIZE=10000000 --driver-opt env.BUILDKIT_STEP_LOG_MAX_SPEED=10000000 || true
docker buildx use build_cross

# Build and push
docker buildx build --platform linux/386,linux/amd64,linux/arm64/v8,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x -t wernight/funbox:latest . --push

# Update local image
docker pull wernight/funbox:latest