Created
July 6, 2020 02:20
-
-
Save masnagam/f00b19c3bd495ccefcb5b2eec69a7a13 to your computer and use it in GitHub Desktop.
A small script to solve the `std::out_of_range` issue on arm32 hosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Usage: replace-mirakc-arib your/image:name | |
# | |
# Assumed that this script is performed on arm32 hosts in order to solve the `std::out_of_range` issue. | |
# See https://twitter.com/masnagam/status/1279962595462529025. | |
cat <<EOF | docker build -t $1 - | |
FROM masnagam/mirakc:alpine | |
COPY --from=masnagam/mirakc:master-alpine /usr/local/bin/mirakc-arib /usr/local/bin/ | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment