diff --git a/Dockerfile b/Dockerfile index 68575c4171..f9fff46fef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.17 as frontend-builder +FROM node:14.17-bullseye as frontend-builder RUN npm install --global --force yarn@1.22.10 @@ -25,7 +25,7 @@ COPY --chown=redash client /frontend/client COPY --chown=redash webpack.config.js /frontend/ RUN if [ "x$skip_frontend_build" = "x" ] ; then yarn build; else mkdir -p /frontend/client/dist && touch /frontend/client/dist/multi_org.html && touch /frontend/client/dist/index.html; fi -FROM python:3.7-slim-buster +FROM python:3.7.13-slim-bullseye EXPOSE 5000 @@ -36,8 +36,9 @@ ARG skip_dev_deps RUN useradd --create-home redash + # Ubuntu packages -RUN apt-get update && \ +RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y && \ apt-get install -y --no-install-recommends \ curl \ gnupg \ @@ -50,6 +51,7 @@ RUN apt-get update && \ libpq-dev \ # ODBC support: g++ unixodbc-dev \ + unixodbc \ # for SAML xmlsec1 \ # Additional packages required for data sources: