Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1c93a96

Browse files
committed
Simplify Dockerfile.tmpl
1 parent 17cc5fb commit 1c93a96

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile.tmpl

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

33
ENV LANG=C.UTF-8 PGDATA=/pg/data SELCC=${CC}
4-
RUN apk --no-cache add python3 gcc make musl-dev ${CC}
54

6-
RUN if ${CHECK_CODE} -eq "true" && ${SELCC} -eq "gcc"; then \
7-
echo 'http://dl-cdn.alpinelinux.org/alpine/v3.6/main' > /etc/apk/repositories && \
5+
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.6/main' > /etc/apk/repositories && \
86
echo 'http://dl-cdn.alpinelinux.org/alpine/v3.6/community' >> /etc/apk/repositories && \
9-
apk --no-cache add cppcheck; \
10-
fi && \
7+
apk --no-cache add python3 gcc make musl-dev cppcheck ${CC} && \
118
pip3 install testgres && \
129
mkdir -p /pg/data && \
1310
mkdir /pg/pg_pathman && \

0 commit comments

Comments
 (0)