Change base image to python:3.8-slim-bullseye
authorAdam Dullage <redacted>
Thu, 19 Aug 2021 12:22:38 +0000 (13:22 +0100)
committerAdam Dullage <redacted>
Thu, 19 Aug 2021 12:22:38 +0000 (13:22 +0100)
Dockerfile

index 28859e30909af38297f040016e8250cbc6be60a9..87aa1235987a96f2662a19689b76730e14a27161 100644 (file)
@@ -1,4 +1,4 @@
-FROM python:3.8-alpine3.14
+FROM python:3.8-slim-bullseye
 
 ARG USER=flatnotes
 ARG UID=1000
@@ -22,11 +22,9 @@ RUN addgroup \
 
 RUN mkdir ${DATA_DIR} && chown ${UID}:${GID} ${DATA_DIR}
 
-RUN apk add --update-cache \
-    libc-dev \
-    gcc \
-    npm \
- && rm -rf /var/cache/apk/* \
+RUN apt update && apt install -y \
+      npm \
+ && rm -rf /var/lib/apt/lists/* \
  && pip install pipenv
 
 USER ${UID}
git clone https://git.99rst.org/PROJECT