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

Commit eea8c8e

Browse files
committed
recreate/update dockerfiles
1 parent 521e328 commit eea8c8e

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*/*/.git
2+
.git
3+
.vscode
4+
*.yml
5+
*/*/*.yml
6+
Dockerfile
7+

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM alpine:3.4
2+
3+
RUN apk add --update gcc libc-dev bison flex readline-dev zlib-dev perl make diffutils gdb iproute2 musl-dbg
4+
5+
# there is already accidental postgres user in alpine
6+
# RUN addgroup pg && adduser -h /pg -D -G pg pg
7+
RUN mkdir /pg && chown postgres:postgres pg
8+
9+
ENV LANG en_US.utf8
10+
ENV CFLAGS -O0
11+
ENV PATH /pg/install/bin:$PATH
12+
13+
COPY ./ /pg/src
14+
15+
# crutch to allow regression test to write there
16+
RUN mkdir -p /pg/src/src/test/regress/results && \
17+
chown postgres:postgres /pg/src/src/test/regress/results
18+
19+
RUN cd /pg/src && \
20+
./configure --enable-cassert --enable-debug --prefix=/pg/install && \
21+
make -j 4 install
22+

contrib/mmts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM pgproent
1+
FROM pgproee10
22

33
RUN mkdir /pg/mmts
44
COPY ./ /pg/mmts/

0 commit comments

Comments
 (0)