File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
1
FROM ghcr.io/code0-tech/build-images/mise:131.1
2
2
3
- RUN apt-get update && apt-get install \
4
- build-essential \
5
- libssl-dev \
6
- libreadline-dev \
7
- zlib1g-dev \
8
- libcurl4-openssl-dev \
9
- uuid-dev \
10
- icu-devtools \
11
- libicu-dev \
12
- libyaml-dev \
13
- -y
3
+ RUN apt-get update \
4
+ && apt-get install \
5
+ build-essential \
6
+ libssl-dev \
7
+ libreadline-dev \
8
+ zlib1g-dev \
9
+ libcurl4-openssl-dev \
10
+ uuid-dev \
11
+ icu-devtools \
12
+ libicu-dev \
13
+ libyaml-dev \
14
+ -y \
15
+ && rm -rf /var/lib/apt/lists/* \
16
+ && apt-get clean
14
17
15
18
ARG POSTGRES_VERSION
16
19
ARG RUBY_VERSION
17
- ADD build-images/mise/mise.ruby-postgres.toml ./mise.toml
18
- RUN mise trust && \
19
- mise config set tools.postgres.version $POSTGRES_VERSION -t string && \
20
- mise config set tools.ruby.version $RUBY_VERSION -t string && \
21
- mise install && \
22
- rm mise.toml
20
+ RUN echo "POSTGRES_SKIP_INITDB=true" > .install-env \
21
+ && MISE_ENV_FILE=.install-env mise use -g postgres@$POSTGRESQL_VERSION ruby@$RUBY_VERSION \
22
+ && rm .install-env
You can’t perform that action at this time.
0 commit comments