mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Upgrade Docker base to Debian buster, refs #1497
This commit is contained in:
parent
3a2ed6300d
commit
2c31d1cd9c
1 changed files with 2 additions and 9 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -1,18 +1,11 @@
|
|||
FROM python:3.9.2-slim-buster as build
|
||||
FROM python:3.9.7-slim-bullseye as build
|
||||
|
||||
# Version of Datasette to install, e.g. 0.55
|
||||
# docker build . -t datasette --build-arg VERSION=0.55
|
||||
ARG VERSION
|
||||
|
||||
# software-properties-common provides add-apt-repository
|
||||
# which we need in order to install a more recent release
|
||||
# of libsqlite3-mod-spatialite from the sid distribution
|
||||
RUN apt-get update && \
|
||||
apt-get -y --no-install-recommends install software-properties-common && \
|
||||
add-apt-repository "deb http://httpredir.debian.org/debian sid main" && \
|
||||
apt-get update && \
|
||||
apt-get -t sid install -y --no-install-recommends libsqlite3-mod-spatialite && \
|
||||
apt-get remove -y software-properties-common && \
|
||||
apt-get install -y --no-install-recommends libsqlite3-mod-spatialite && \
|
||||
apt clean && \
|
||||
rm -rf /var/lib/apt && \
|
||||
rm -rf /var/lib/dpkg/info/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue