Skip to content

Commit e001345

Browse files
committed
Add gcc to docker
1 parent 50d743f commit e001345

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
FROM postgres:${PG_VERSION}-alpine
22

3-
ENV PYTHON=python${PYTHON_VERSION}
4-
RUN if [ "${PYTHON_VERSION}" = "2" ] ; then \
5-
apk add --no-cache gcc curl python2 py-virtualenv py-pip; \
6-
fi
7-
RUN if [ "${PYTHON_VERSION}" = "3" ] ; then \
8-
apk add --no-cache gcc curl python3 py-virtualenv; \
9-
fi
3+
ENV PYTHON=python3
4+
RUN apk add --no-cache build-base curl python3 py-virtualenv python3-dev musl
105
ENV LANG=C.UTF-8
116

127
RUN mkdir -p /pg

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy