Build container from a different image
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM alpine:3.13.1
|
||||
RUN apk update && apk add --no-cache bash git gcc openssh python3 py3-pip graphviz graphviz-dev musl-dev postgresql-dev python3-dev build-base
|
||||
FROM python:3.10-slim-bullseye
|
||||
RUN apt-get update -y && apt-get install -y --no-install-recommends bash git openssh graphviz graphviz-dev musl-dev postgresql-dev build-base build-essential gcc python3-dev libffi-dev poppler-utils zlib1g-dev libjpeg-dev libssl-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user