mirror of
https://github.com/valitydev/holmes.git
synced 2024-11-06 01:45:25 +00:00
switch to slim version (#53)
This commit is contained in:
parent
7423d1ed86
commit
bf603bf801
2
.env
2
.env
@ -1,4 +1,4 @@
|
||||
OTP_VERSION=24.2.0
|
||||
OTP_VERSION=24.3.4
|
||||
STEP_VERSION=0.24.3
|
||||
THRIFT_VERSION=0.14.2.2
|
||||
WOORL_VERSION=1.7
|
||||
|
17
Dockerfile
17
Dockerfile
@ -7,11 +7,9 @@ WORKDIR /holmes
|
||||
RUN make
|
||||
RUN ./clone-proto-modules.sh /repos
|
||||
|
||||
FROM docker.io/library/erlang:${OTP_VERSION}
|
||||
FROM docker.io/library/erlang:${OTP_VERSION}-slim
|
||||
|
||||
RUN curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /usr/share/keyrings/postgresql.gpg > /dev/null \
|
||||
&& echo deb [arch=amd64,arm64,ppc64el signed-by=/usr/share/keyrings/postgresql.gpg] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main | tee /etc/apt/sources.list.d/postgresql.list \
|
||||
&& apt-get --yes update \
|
||||
RUN apt-get --yes update \
|
||||
&& apt-get --yes --no-install-recommends install \
|
||||
curl \
|
||||
bind9-dnsutils \
|
||||
@ -24,10 +22,15 @@ RUN curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmo
|
||||
netcat-openbsd \
|
||||
jq \
|
||||
python3-pip \
|
||||
postgresql-client-15 \
|
||||
wget \
|
||||
gnupg \
|
||||
&& pip install six \
|
||||
&& curl -fSsL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /usr/share/keyrings/postgresql.gpg > /dev/null \
|
||||
&& echo deb [arch=amd64,arm64,ppc64el signed-by=/usr/share/keyrings/postgresql.gpg] http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main | tee /etc/apt/sources.list.d/postgresql.list \
|
||||
&& apt-get --yes update \
|
||||
&& apt-get --yes --no-install-recommends install postgresql-client-15 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& pip install six
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# step-cli
|
||||
ARG STEP_VERSION
|
||||
|
Loading…
Reference in New Issue
Block a user