Skip to content

Commit

Permalink
ARM build
Browse files Browse the repository at this point in the history
  • Loading branch information
antares-sw committed Oct 10, 2023
1 parent 7b42439 commit 0270ae4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# `python-base` sets up all our shared environment variables
FROM python:3.10-alpine as python-base
FROM python:3.10 as python-base

# python
ENV PYTHONUNBUFFERED=1 \
Expand Down Expand Up @@ -34,11 +34,11 @@ ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:/root/.cargo/bin:$PATH"
# `builder-base` stage is used to build deps + create our virtual environment
FROM python-base as builder-base

RUN apk upgrade --no-cache
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev curl libgcc libstdc++ postgresql-libs postgresql-dev
RUN apt-get update
RUN apt-get install -y gcc python3-dev libffi-dev libssl-dev curl libgcc-8-dev libstdc++-8-dev libpq-dev postgresql-client && \
rm -rf /var/lib/apt/lists/*
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- --default-toolchain stable -y
RUN rm -rf /var/cache/apt/*

# install poetry - respects $POETRY_VERSION & $POETRY_HOME
RUN curl -sSL https://install.python-poetry.org | python -
Expand Down

0 comments on commit 0270ae4

Please sign in to comment.