35 lines
2.6 KiB
Docker
35 lines
2.6 KiB
Docker
FROM docker.io/bitnami/minideb:buster
|
|
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
|
|
|
ENV OS_ARCH="amd64" \
|
|
OS_FLAVOUR="debian-10" \
|
|
OS_NAME="linux"
|
|
|
|
COPY prebuildfs /
|
|
# Install required system packages and dependencies
|
|
RUN install_packages acl ca-certificates curl gzip libbsd0 libbz2-1.0 libc6 libcom-err2 libcurl4 libexpat1 libffi6 libfftw3-double3 libfontconfig1 libfreetype6 libgcc1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed4 libicu63 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 liblqr-1-0 libltdl7 liblzma5 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmemcached11 libmemcachedutil2 libncurses6 libncursesw6 libnettle6 libnghttp2-14 libonig5 libp11-kit0 libpcre3 libpng16-16 libpq5 libpsl5 libreadline7 librtmp1 libsasl2-2 libsodium23 libsqlite3-0 libssh2-1 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libwebp6 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 procps sqlite3 sudo tar zlib1g
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "python" "3.8.12-31" --checksum 48db897c12810ff5f17a323e9b4a0cc2812e673d66f94feb9d90e3abb28e664b
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "php" "8.1.2-13" --checksum 8cb53977e066b6cc16931de1224738132f3f5969f5ee73cc15934c49b057e039
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "node" "14.19.0-1" --checksum 400fb188f20ebb22fe9a99f6ef46598902884b9fbd87da481455cbc60273497d
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "wait-for-port" "1.0.1-7" --checksum 0ef01592ac0331fb1b486122aac3434cd103c3488652a871951a533037d277f8
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "laravel" "8.6.11-1" --checksum f35d4873b98b9afd35d038b24b97d02cde00e2393e169a7289f60af6d34ab2af
|
|
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.14.0-4" --checksum ec62006ece7e0b49c65926e458ba2b71d6d251552118b1378840b1803dbb3d53
|
|
RUN apt-get update && apt-get upgrade -y && \
|
|
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
|
RUN /build/bitnami-user.sh
|
|
|
|
COPY rootfs /
|
|
RUN /opt/bitnami/scripts/laravel/postunpack.sh
|
|
RUN /opt/bitnami/scripts/php/postunpack.sh
|
|
ENV BITNAMI_APP_NAME="laravel" \
|
|
BITNAMI_IMAGE_VERSION="8.6.11-debian-10-r7" \
|
|
NODE_PATH="/opt/bitnami/node/lib/node_modules" \
|
|
PATH="/opt/bitnami/python/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/node/bin:/opt/bitnami/common/bin:$PATH" \
|
|
PHP_ENABLE_OPCACHE="0"
|
|
|
|
EXPOSE 3000 8000
|
|
|
|
WORKDIR /app
|
|
ENTRYPOINT [ "/opt/bitnami/scripts/laravel/entrypoint.sh" ]
|
|
CMD [ "/opt/bitnami/scripts/laravel/run.sh" ]
|