tpl

asdf (postgres-15.6)

Published 2024-04-24 18:06:03 +00:00 by orion in tpl/docker-asdf

Installation

docker pull git.orionkindel.com/tpl/asdf:postgres-15.6
sha256:8b2cbc12cd4749e8385a30f1a8ce7f5ac020c68bfb92ac6d2808adda540ed6aa

Image Layers

ADD file:ca6d1f0f80dd6c91b8ba1d1adf77d7af6d0e5f2f493a2858e384c11874314395 in /
CMD ["bash"]
RUN /bin/sh -c apt-get update -y && apt-get upgrade -y # buildkit
RUN /bin/sh -c apt-get install -y git curl build-essential zlib1g zlib1g-dev bzip2 libncurses-dev ncurses-bin libffi-dev libreadline-dev readline-common openssl libssl-dev libicu-dev libicu72 uuid-dev # buildkit
RUN /bin/sh -c git clone https://github.com/asdf-vm/asdf.git /root/.asdf --branch v0.14.0 # buildkit
RUN /bin/sh -c echo "source /root/.asdf/asdf.sh" >> /root/.bashrc && echo "source /root/.asdf/completions/asdf.bash" >> /root/.bashrc && chsh root -s /bin/bash # buildkit
SHELL [/bin/bash -lc]
RUN /bin/bash -lc echo -n "bun postgres purescript python rust" | xargs -d " " -I{} asdf plugin add {} # buildkit
ARG V_POSTGRES=15.2
RUN |1 V_POSTGRES=15.6 /bin/bash -lc if [ -n "$V_POSTGRES" ]; then POSTGRES_SKIP_INITDB=y asdf install postgres $V_POSTGRES; else echo "skipping postgres..."; fi; # buildkit
ARG V_PYTHON=3.12.3
RUN |2 V_POSTGRES=15.6 V_PYTHON= /bin/bash -lc if [ -n "$V_PYTHON" ]; then asdf install python $V_PYTHON; asdf global python $V_PYTHON; else echo "skipping python..."; fi; # buildkit
ARG V_BUN=1.1.3
RUN |3 V_POSTGRES=15.6 V_PYTHON= V_BUN= /bin/bash -lc apt-get install -y unzip # buildkit
RUN |3 V_POSTGRES=15.6 V_PYTHON= V_BUN= /bin/bash -lc if [ -n "$V_BUN" ]; then asdf install bun $V_BUN; asdf global bun $V_BUN; else echo "skipping bun..."; fi; # buildkit
ARG V_GOLANG=1.21.0
RUN |4 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= /bin/bash -lc asdf plugin add golang # buildkit
RUN |4 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= /bin/bash -lc if [ -n "$V_GOLANG" ]; then asdf install golang $V_GOLANG; asdf global golang $V_GOLANG; else echo "skipping golang..."; fi; # buildkit
ARG V_RUST
RUN |5 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= V_RUST= /bin/bash -lc if [ -n "$V_RUST" ]; then asdf install rust $V_RUST; asdf global rust $V_RUST; else echo "skipping rust..."; fi; # buildkit
ARG V_NODEJS=21.6.2
RUN |6 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= V_RUST= V_NODEJS= /bin/bash -lc asdf plugin add nodejs # buildkit
RUN |6 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= V_RUST= V_NODEJS= /bin/bash -lc if [ -n "$V_NODEJS" ]; then asdf install nodejs $V_NODEJS; asdf global nodejs $V_NODEJS; else echo "skipping nodejs..."; fi; # buildkit
ARG V_PURESCRIPT=0.15.11-3
RUN |7 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= V_RUST= V_NODEJS= V_PURESCRIPT= /bin/bash -lc if [ -n "$V_PURESCRIPT" ]; then asdf install purescript $V_PURESCRIPT; asdf global purescript $V_PURESCRIPT; else echo "skipping purescript..."; fi; # buildkit
RUN |7 V_POSTGRES=15.6 V_PYTHON= V_BUN= V_GOLANG= V_RUST= V_NODEJS= V_PURESCRIPT= /bin/bash -lc apt-get install -y tini # buildkit
ENTRYPOINT ["/usr/bin/tini" "--"]
Details
Container
2024-04-24 18:06:03 +00:00
1
OCI / Docker
linux/amd64
286 MiB
Versions (3) View all
postgres-15.6 2024-04-24
bookworm 2023-09-23