Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)