I'm trying to use alpine (nodeJS) docker image, but I do get the error /bin/sh: apt-get: not found. So what would be the equivalent commands for doing this in alpine?
FROM node:8.6-alpine
ARG APP_LOCALE=en_US
ARG APP_CHARSET=UTF-8
RUN apt-get install locales
RUN locale-gen ${APP_LOCALE}
RUN localedef ${APP_LOCALE}.${APP_CHARSET} -i ${APP_LOCALE} -f ${APP_CHARSET}
Alpine linux uses another package manager. https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With