Sign inSign up

brunom63/imgproxy-arm64

By brunom63

•Updated almost 5 years ago

Imgproxy built for arm64 with full support for AWS linux/arm64/v8

Image
0

974

brunom63/imgproxy-arm64 repository overview

Imgproxy arm64 Docker built for Amazon's AWS linux/arm64/v8. Fully tested and currently in production, running straight with no errors whatsover.

Full merit to the Imgproxy team for developing this great solution and for their excellent support: https://github.com/imgproxy/imgproxy⁠

Special thanks to https://github.com/DarthSim⁠

This image was derived by Imgproxy's own docker guide (links available at their website's documentation) with some simple substitutions pointing to Go's ARM64 required dependencies.

I created a quick bash script to automate the final image, which must be rebuilt whenever you need a current version of Imgproxy. All modifications done to the original image are on this script.

#!/bin/bash
set -e

localFolder="/opt/docker-images/"
mkdir ${localFolder} 
cd ${localFolder}

git clone https://github.com/imgproxy/imgproxy-docker-base.git
git clone https://github.com/imgproxy/imgproxy.git

sed -i -e 's/linux-amd64\.tar\.gz/linux-arm64.tar.gz/' ${localFolder}imgproxy-docker-base/install-go.sh
sed -i -e 's/x86_64-linux-gnu/aarch64-unknown-linux-gnu/' ${localFolder}imgproxy-docker-base/build-deps.sh

sed -i -e 's+darthsim/imgproxy-base:${BASE_IMAGE_VERSION}+imgproxy-base+' ${localFolder}imgproxy/docker/Dockerfile

cd ${localFolder}imgproxy-docker-base/
docker build -f Dockerfile -t imgproxy-base .

cd ${localFolder}imgproxy/
docker build -f docker/Dockerfile -t imgproxy .

Tag summary

Content type

Image

Digest

Size

57.6 MB

Last updated

almost 5 years ago

docker pull brunom63/imgproxy-arm64