Open josephlimb opened 6 years ago
FYI: Dockerhub is throwing the following error upon build:
Build failed: The command '/bin/sh -c echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk --no-cache update && apk --no-cache upgrade && apk add --no-cache --virtual .build-deps gifsicle pngquant optipng libjpeg-turbo-utils udev ttf-opensans chromium && rm -rf /var/cache/apk/* /tmp/*' returned a non-zero code: 2
https://hub.docker.com/r/rastasheep/alpine-node-chromium/builds/bexrrmephx5djohxjoewnra/
this is because of the parent node image use a old alpine version.
move the apk update and upgrade commands before adding the edge repositories fix this.
FYI: Dockerhub is throwing the following error upon build:
Build failed: The command '/bin/sh -c echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories && echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk --no-cache update && apk --no-cache upgrade && apk add --no-cache --virtual .build-deps gifsicle pngquant optipng libjpeg-turbo-utils udev ttf-opensans chromium && rm -rf /var/cache/apk/* /tmp/*' returned a non-zero code: 2
https://hub.docker.com/r/rastasheep/alpine-node-chromium/builds/bexrrmephx5djohxjoewnra/