persona (9b9919d)
Published 2023-12-21 20:56:42 +00:00 by orion
Installation
docker pull git.orionkindel.com/thunderstrike/persona:9b9919d
sha256:c0e32af357802842ce3a1a1ae37c8bfa85f4704ad56fdf198931bfd3a113750a
Image Layers
ADD file:cc1376ecb3d9e93e4160573c110da753ffeb2efe2223351f1fbf483d89f1a756 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 # buildkit |
RUN /bin/sh -c apt-get install -y curl # buildkit |
RUN /bin/sh -c git clone https://github.com/asdf-vm/asdf.git /root/.asdf --branch v0.13.1 # 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 purescript spago python rust" | xargs -d " " -I{} asdf plugin add {} # buildkit |
RUN /bin/bash -lc apt-get install -y tini # buildkit |
ENTRYPOINT ["/usr/bin/tini" "--"] |
RUN /bin/bash -lc apt-get install -y build-essential # buildkit |
RUN /bin/bash -lc apt-get install -y zlib1g zlib1g-dev # buildkit |
RUN /bin/bash -lc apt-get install -y bzip2 libncurses-dev ncurses-bin libffi-dev readline-common openssl libssl-dev # buildkit |
RUN /bin/bash -lc apt-get update -y # buildkit |
RUN /bin/bash -lc apt-get install -y unzip sqlite3 python3 # buildkit |
RUN /bin/bash -lc asdf plugin add nodejs # buildkit |
RUN /bin/bash -lc mkdir /app # buildkit |
WORKDIR /app |
COPY ./.tool-versions .tool-versions # buildkit |
RUN /bin/bash -lc asdf install # buildkit |
COPY ./package.json package.json # buildkit |
COPY ./bun.lockb bun.lockb # buildkit |
RUN /bin/bash -lc bun install # buildkit |
COPY . . # buildkit |
RUN /bin/bash -lc bun run build:prod # buildkit |
RUN /bin/bash -lc rm -r output node_modules # buildkit |
ARG BUILD_ID |
RUN |1 BUILD_ID= /bin/bash -lc echo $BUILD_ID > /build_id # buildkit |
CMD ["/bin/bash" "-lc" "node --enable-source-maps index.js"] |