Skip to content

Fastest Docker image to run Hugo on Amazon AWS Amplify Console

License

Notifications You must be signed in to change notification settings

butaca/amplify-hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

amplify-hugo

Fastest Docker image to run Hugo on Amazon AWS Amplify Console

Trial and error

At the time of writting, the Amplify Console documentation about custom build images doesn't give a lot of info about the requirements and about the environment. Therefore I tried different build images to roughly measeure and compare the build times.

Image Time
Default Amazon Image ~3 minutes
alpine:latest doesn't work*
amazonlinux:2 ~1 minute
debian:stable-slim ~1.5 minutes
ubuntu:latest ~1 minute

* Alpine is not supported yet: aws-amplify/amplify-hosting#105 (comment)

Git Branches & Docker Hub

You can try the different images using the branches in this repo. They are also uploaded to Docker Hub.

Image Git Branch Docker Hub
amazonlinux:2 master butaca/amplify-hugo
alpine:latest alpine butaca/amplify-hugo:alpine
debian:stable-slim debian butaca/amplify-hugo:debian
ubuntu:latest ubuntu butaca/amplify-hugo:ubuntu

About

Fastest Docker image to run Hugo on Amazon AWS Amplify Console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published