-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cross arch builds, upstream debian and yt/pipes fixes
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:jessie | ||
FROM debian | ||
|
||
MAINTAINER Werner Beroux <[email protected]> | ||
|
||
|
@@ -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 \ | ||
|
@@ -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" \ | ||
|
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 |
---|---|---|
@@ -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 |