Skip to content

Commit

Permalink
Upgrade to Alpine base, node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning committed Jan 31, 2023
1 parent 69a9261 commit 49692c2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
FROM python:3.8.5-slim-buster
FROM python:3.9.16-alpine3.17
LABEL maintainer="Ben Hardill [email protected]"

RUN \
apt-get update && apt-get install -yqq wget gnupg libdbus-1-dev libglib2.0-dev build-essential && \
echo "deb https://deb.nodesource.com/node_12.x buster main" > /etc/apt/sources.list.d/nodesource.list && \
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
apt-get update && \
apt-get install -yqq nodejs && \
apk add --update make cmake pkgconfig gcc libc-dev g++ glib-dev linux-headers dbus dbus-dev && \
apk add --update 'nodejs<19' 'npm<10' && \
pip install -U pip && pip install pipenv && \
npm i -g npm@^6 && \
rm -rf /var/lib/apt/lists/*

WORKDIR /usr/src/app
Expand Down

0 comments on commit 49692c2

Please sign in to comment.