sha256:5a8a880b63ff8bcdafcb711b6ae03213cb63f31a493bf58163f2a0b661b9053f
OS/ARCH
linux/amd64
Compressed size
452.71 MB
Last pushed
17 days by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:5f8cc5f2b4be57251e10e4caa3d1abdf4c0acd15967d38ac5ccc128db86fb59a
9
ENV DENO_VERSION=1.43.5
0 B
10
RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in 'amd64') denoArch='x86_64'; denoSha256='246bf818932c5e11adb85afaaf3c90e65d5cbe14bcaa8ea14d35fc085869775d'; ;; 'arm64') denoArch='aarch64'; denoSha256='3335cd10a3c17afa5a44fc79484cd3471ca151afa5d9ba6080e55a7faa7dafb5'; ;; *) echo >&2 "error: unsupported Deno architecture '$dpkgArch'"; exit 1 ;; esac; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl unzip; rm -rf /var/lib/apt/lists/*; cd /tmp; curl -fsSL -o deno.zip "https://dl.deno.land/release/v${DENO_VERSION}/deno-${denoArch}-unknown-linux-gnu.zip"; echo "$denoSha256 *deno.zip" | sha256sum --strict --check -; unzip deno.zip -d /tmp; rm deno.zip; chmod 755 /tmp/deno; mv /tmp/deno /usr/local/bin/deno; apt-mark auto '.*' > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false # buildkit
48.72 MB
11
RUN /bin/sh -c groupadd -r rocketchat && useradd -r -g rocketchat rocketchat && mkdir -p /app/uploads && chown rocketchat:rocketchat /app/uploads # buildkit
1.17 KB
12
VOLUME [/app/uploads]
0 B
13
WORKDIR /app
32 B
14
ENV NODE_ENV=production
0 B
15
ENV RC_VERSION=8.2.8
0 B
16
RUN /bin/sh -c set -eux && apt-get update && apt-get install -y --no-install-recommends fontconfig && aptMark="$(apt-mark showmanual)" && apt-get install -y --no-install-recommends g++ make python3 ca-certificates curl gnupg && rm -rf /var/lib/apt/lists/* && gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 0E163286C20D07B9787EBE9FD7F9D0414FD08104 && curl -fSL "https://releases.rocket.chat/${RC_VERSION}/download" -o rocket.chat.tgz && curl -fSL "https://releases.rocket.chat/${RC_VERSION}/asc" -o rocket.chat.tgz.asc && gpg --batch --verify rocket.chat.tgz.asc rocket.chat.tgz && tar zxf rocket.chat.tgz && rm rocket.chat.tgz rocket.chat.tgz.asc && cd bundle/programs/server && npm install --unsafe-perm=true && apt-mark auto '.*' > /dev/null && apt-mark manual $aptMark > /dev/null && find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false && npm cache clear --force && chown -R rocketchat:rocketchat /app # buildkit
346.19 MB
17
USER rocketchat
0 B
18
WORKDIR /app/bundle
32 B
19
ENV DEPLOY_METHOD=docker-official MONGO_URL=mongodb://db:27017/meteor HOME=/tmp PORT=3000 ROOT_URL=http://localhost:3000
0 B
20
EXPOSE map[3000/tcp:{}]
0 B
21
CMD ["node" "main.js"]
0 B