This repo uses alpine:latest and, as a result, those without a cached image will grab the latest version fo Alpine Linux. However, upon running the included Dockerfile fails on the latest version of Alpine with:
Replacing python with python3 and symlinking the binary may be a possible. But it seems this becomes a slippery slope as one soon learns AWS CLI no longer uses py-pip for installation: neither CLI v1 or the newer v2.
Attempting to install AWS CLI v2 using the new documented method (after adding curl and sudo dependencies) leads to an unintelligible error ostensibly as a result of a missing glibc installation:
./aws/install: line 78: /aws/dist/aws2: not found
A related issue was opened against the CLI in which a contributor suggests Alpine isn't supported nor is support of alpine likely. The contributor does suggest using Ubuntu instead of Alpine but this Dockerfile was written to use APK and a micro-container approach and so it's not clear what the best course of action is for backing up Reaction Commerce's MongoDB.
This repo uses
alpine:latest
and, as a result, those without a cached image will grab the latest version fo Alpine Linux. However, upon running the includedDockerfile
fails on the latest version of Alpine with:Replacing
python
withpython3
and symlinking the binary may be a possible. But it seems this becomes a slippery slope as one soon learns AWS CLI no longer uses py-pip for installation: neither CLI v1 or the newer v2.Attempting to install AWS CLI v2 using the new documented method (after adding
curl
andsudo
dependencies) leads to an unintelligible error ostensibly as a result of a missingglibc
installation:A related issue was opened against the CLI in which a contributor suggests Alpine isn't supported nor is support of alpine likely. The contributor does suggest using Ubuntu instead of Alpine but this Dockerfile was written to use APK and a micro-container approach and so it's not clear what the best course of action is for backing up Reaction Commerce's MongoDB.