mirror of
https://github.com/csd4ni3l/bun-chome-yolk.git
synced 2025-11-05 04:57:56 +01:00
27 lines
1.1 KiB
Docker
27 lines
1.1 KiB
Docker
FROM --platform=$TARGETOS/$TARGETARCH oven/bun:latest
|
|
|
|
LABEL author="csd4ni3l" maintainer="csd4ni3l@proton.me"
|
|
|
|
RUN apt update \
|
|
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool tini ca-certificates fonts-liberation libappindicator3-1 \
|
|
libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 \
|
|
libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 \
|
|
libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 \
|
|
libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \
|
|
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
|
|
libxss1 libxtst6 lsb-release wget xdg-utils \
|
|
&& useradd -m -d /home/container container
|
|
|
|
RUN bun upgrade
|
|
|
|
USER container
|
|
ENV USER=container HOME=/home/container
|
|
WORKDIR /home/container
|
|
|
|
STOPSIGNAL SIGINT
|
|
|
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
|
CMD ["/entrypoint.sh"]
|