File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change
1
+ .vscode /*
Original file line number Diff line number Diff line change 1
- FROM debian:8
2
- MAINTAINER Antonio Esposito "kobe@member.fsf.org"
1
+ FROM alpine:3.9
3
2
4
- RUN apt update && apt install -y \
5
- python-pip python-dev libpq-dev libevent-dev \
6
- postgresql-client osm2pgsql curl wget zip \
7
- && rm -rf /var/lib/apt/lists/*
8
- RUN pip install pgcli
3
+ RUN apk --no-cache update && \
4
+ apk --no-cache add \
5
+ gcc=8.2.0-r2 \
6
+ postgresql-client=11.1-r0 \
7
+ musl-dev=1.1.20-r3 \
8
+ postgresql-dev=11.1-r0 \
9
+ python2-dev=2.7.15-r3 \
10
+ py2-pip=18.1-r0
9
11
10
- RUN useradd -u 1000 -d /tmp app
12
+ RUN pip install 'pgcli==2.0.2'
13
+
14
+ # Drop permissions and run as UID 1000 user
15
+ RUN adduser -D -u 1000 app
11
16
USER app
12
17
13
18
CMD ["true" ]
You can’t perform that action at this time.
0 commit comments