Browse Source

fix: revert arm dockerfile to node 14 (unsupported sqlite3 in 16.x)

John Smith 3 years ago
parent
commit
7e335fa8c3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dev/build-arm/Dockerfile

+ 3 - 3
dev/build-arm/Dockerfile

@@ -1,9 +1,9 @@
 # =========================
 # =========================
 # --- BUILD NPM MODULES ---
 # --- BUILD NPM MODULES ---
 # =========================
 # =========================
-FROM node:16-alpine AS build
+FROM node:14-alpine AS build
 
 
-RUN apk add yarn g++ make python3 --no-cache
+RUN apk add yarn g++ make python3 sqlite --no-cache
 
 
 WORKDIR /wiki
 WORKDIR /wiki
 
 
@@ -14,7 +14,7 @@ RUN yarn --production --frozen-lockfile --non-interactive --network-timeout 1000
 # ===============
 # ===============
 # --- Release ---
 # --- Release ---
 # ===============
 # ===============
-FROM node:16-alpine
+FROM node:14-alpine
 LABEL maintainer="requarks.io"
 LABEL maintainer="requarks.io"
 
 
 RUN apk add bash curl git openssh gnupg sqlite --no-cache && \
 RUN apk add bash curl git openssh gnupg sqlite --no-cache && \