chore: switch to nodejs alpine 3.14 base image and fix dependencies (#60)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Reviewed-on: docker/lhci#60
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
Robert Kaussow 2021-07-28 22:05:38 +02:00
parent 2f4d74cfdd
commit d5f732217e

View File

@ -1,4 +1,4 @@
FROM node:lts-alpine3.13@sha256:efadbdd1ef5f84a93729185767b132606f211a98921d2f30464550a6e5f62437
FROM node:lts-alpine3.14
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
@ -26,7 +26,7 @@ RUN apk --update add --virtual .build-deps curl && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
echo @edge http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
apk update && \
apk add --update --no-cache git chromium@edge jq && \
apk add --update --no-cache git chromium@edge harfbuzz@edge freetype@edge freetype-dev@edge jq && \
curl -SsL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" && \
chmod 755 /usr/local/bin/yq && \
LHCI_VERSION="${LHCI_VERSION##v}" && \