This repository has been archived on 2025-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
podman_examples/bun/Dockerfile
2025-03-19 20:22:41 +00:00

27 lines
No EOL
476 B
Docker

FROM debian:12.9
ARG U_NAME="user"
ARG U_ID="1000"
RUN adduser --disabled-password --gecos '' --uid ${U_ID} ${U_NAME}
WORKDIR /home/${U_NAME}
#=================================#
# [ bun ]
USER root
RUN apt-get update && apt-get install -y \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/*
COPY install_bun.sh install_bun.sh
RUN chown ${U_NAME}:${U_NAME} install_bun.sh
USER ${U_NAME}
RUN /bin/bash install_bun.sh
#=================================#
USER ${U_NAME}