WIP
This commit is contained in:
21
Dockerfile
21
Dockerfile
@ -14,6 +14,23 @@ RUN tar -xf pg16.tar.gz
|
||||
RUN cd postgresql* && ./configure --prefix=/postgres/16 && make world-bin && make install
|
||||
|
||||
FROM ubuntu:noble
|
||||
RUN apt update && apt install -y libicu74 libreadline8t64 curl wget nano && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt update && apt install -y \
|
||||
libicu74 \
|
||||
libreadline8t64 \
|
||||
curl \
|
||||
wget \
|
||||
nano \
|
||||
locales \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
||||
ENV LANG=en_US.utf8
|
||||
|
||||
ENV POSTGRES_USER=postgres
|
||||
|
||||
COPY --from=build17 /postgres/17 /postgres/17
|
||||
COPY --from=build16 /postgres/16 /postgres/16
|
||||
COPY --from=build16 /postgres/16 /postgres/16
|
||||
|
||||
COPY migrate.sh /migrate.sh
|
||||
RUN chmod +x migrate.sh
|
||||
|
||||
CMD ["/migrate.sh"]
|
Reference in New Issue
Block a user