Build script and Dockerfile to produce the restic binaries
Alternatives To Builder
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Portainer26,653220 hours ago78April 21, 2021494zlibGo
Making Docker and Kubernetes management easy.
Awesome Docker26,345
3 days agoapache-2.0
:whale: A curated list of Docker resources and projects
2 days ago39mitDockerfile
Pre-Built Vulnerable Environments Based on Docker-Compose
20 days ago78mitDockerfile
Various Dockerfiles I use on the desktop and on servers.
Kaniko12,94432 days ago65July 26, 2023571apache-2.0Go
Build Container Images In Kubernetes
7 days ago124mitDockerfile
Full PHP development environment for Docker.
115 days ago67November 09, 2022157gpl-3.0Haskell
Dockerfile linter, validate inline bash, written in Haskell
V2ray For Doprax8,133
a month ago1Dockerfile
The tool can install v2ray on the Doprax, including VMess and VLess protocols, it will automatically switch IP, you need to fork this projects, read and run it. Create By ifeng.
Docker Node7,862
8 days ago125mitDockerfile
Official Docker Image for Node.js :whale: :turtle: :rocket:
a day ago107mitDockerfile
Alternatives To Builder
Select To Compare

Alternative Project Comparisons

This repository contains the build script and Dockerfile used to produce the binaries for each restic release starting at 0.9.3.


Note: For more detailed instructions, reference the Reproducible Builds section of the Developer Information.

First, clone (or update) this repo:

$ git clone


$ git pull

Second, pull the base image and build the docker container using the required Go version:

$ GO_VERSION=1.20.3
$ docker pull debian:stable
$ docker build --no-cache -t restic/builder:${GO_VERSION} --build-arg GO_VERSION=${GO_VERSION} .
$ docker tag restic/builder:${GO_VERSION} restic/builder:latest

Maintainers may also publish the new image to Docker hub:

$ docker push restic/builder:${GO_VERSION}
$ docker push restic/builder:latest

Next, download and extract the restic source code.

$ curl -L -O
$ tar -xzvf v0.9.3.tar.gz

Then run the build as follows, mounting the directory with the source code as /restic and putting the resulting files in the directory output:

$ mkdir output
$ docker run --rm --volume "$PWD/restic-0.9.3:/restic" --volume "$PWD/output:/output" restic/builder

Verify Build

If all goes well then you've produced exactly the same binaries as in the official release.

To verify the linux amd64 build for example, run:

$ sha256_restic=3c882962fc07f611a6147ada99c9909770d3e519210fd483cde9609c6bdd900c
$ echo "${sha256_restic} output/restic_linux_amd64.bz2" | sha256sum -c -


The Docker container is based on Debian stable and the official Go compiler is used in the latest released version.

The container has the official Go compiler installed in /usr/local/go.

Popular Dockerfile Projects
Popular Docker Projects
Popular Virtualization Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.