summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorYehoshua Pesach Wallach <yehoshuapw@gmail.com>2022-05-10 14:55:27 +0300
committerJF <JF002@users.noreply.github.com>2022-05-10 22:20:02 +0200
commitc9f23c11b314c5ada5ccac288594e600d799743d (patch)
treee449ebc7fcf940f617e4efe8b6254dc0dabdbbff /docker
parentf56788465d9fae5753213543f5383d9b1747844c (diff)
update docker to 22, and use python3 by default
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 1943177a..10bed55f 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM ubuntu:20.04
+FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq \
@@ -11,15 +11,15 @@ RUN apt-get update -qq \
make \
python3 \
python3-pip \
+ python-is-python3 \
tar \
unzip \
wget \
curl \
-# aarch64 packages
+ # aarch64 packages
libffi-dev \
libssl-dev \
python3-dev \
- python \
git \
apt-utils \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
@@ -30,6 +30,7 @@ RUN apt-get update -qq \
RUN pip3 install adafruit-nrfutil
RUN pip3 install -Iv cryptography==3.3
+RUN pip3 install cbor
RUN npm i lv_font_conv@1.5.2 -g
# build.sh knows how to compile