Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.
/ diffoscope-arch Public archive

Docker image for diffoscope based on Archlinux

License

Notifications You must be signed in to change notification settings

xatier/diffoscope-arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

⚠️⚠️⚠️⚠️

This project has been moved into https://github.com/xatier/dockerfiles

⚠️⚠️⚠️⚠️


Docker iamge for diffoscope

diffoscope is a great tool for comparing files and directories recursively. It supports a variety of different file formats.

Problem

The image built by official Dockerfile is quite huge. I tried to containerize it with Archlinux with some useful dependencies.

$ docker images
REPOSITORY                                                 TAG                 IMAGE ID            CREATED             SIZE
xatier/diffoscope-arch                                     latest              647ad3f846af        16 minutes ago      1.34GB
archlinux/base                                             latest              754519a037bc        2 weeks ago         459MB
registry.salsa.debian.org/reproducible-builds/diffoscope   latest              b400779127a1        2 weeks ago         3.69GB

Usage

Pull the image from GitHub

# pull
docker pull docker.pkg.github.com/xatier/diffoscope-arch/diffoscope-arch:latest

# run
docker run --rm -t -w $(pwd) -v $(pwd):$(pwd):ro docker.pkg.github.com/xatier/diffoscope-arch/diffoscope-arch:latest file1 file2

Build the Dockerfile locally

# build
docker build --no-cache -t xatier/diffoscope-arch .

# run
docker run --rm -t -w $(pwd) -v $(pwd):$(pwd):ro xatier/diffoscope-arch:latest file1 file2

(Maintainance) Update docker image on GitHub

# push to registry
# build the image
docker tag 647ad3f846af docker.pkg.github.com/xatier/diffoscope-arch/diffoscope-arch:latest
docker push docker.pkg.github.com/xatier/diffoscope-arch/diffoscope-arch:latest

About

Docker image for diffoscope based on Archlinux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published