File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,32 @@ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
59
59
| xargs -r apt-mark manual \
60
60
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
61
61
62
+ ENV DENO_VERSION=1.37.1
63
+
64
+ RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
65
+ && case "${dpkgArch##*-}" in \
66
+ amd64) ARCH='x86_64' ;; \
67
+ arm64) ARCH='aarch64' ;; \
68
+ *) echo "unsupported Deno architecture" ; exit 1 ;; \
69
+ esac \
70
+ && set -ex \
71
+ && apt-get update && apt-get install -y --no-install-recommends ca-certificates curl unzip && rm -rf /var/lib/apt/lists/* \
72
+ && curl -fsSL https://dl.deno.land/release/v${DENO_VERSION}/deno-${ARCH}-unknown-linux-gnu.zip \
73
+ --output /tmp/deno.zip \
74
+ && unzip /tmp/deno.zip -d /tmp \
75
+ && rm /tmp/deno.zip \
76
+ && chmod 755 /tmp/deno \
77
+ && mv /tmp/deno /usr/local/bin/deno \
78
+ && apt-mark auto '.*' > /dev/null \
79
+ && find /usr/local -type f -executable -exec ldd '{}' ';' \
80
+ | awk '/=>/ { print $(NF-1) }' \
81
+ | sort -u \
82
+ | xargs -r dpkg-query --search \
83
+ | cut -d: -f1 \
84
+ | sort -u \
85
+ | xargs -r apt-mark manual \
86
+ && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
87
+
62
88
RUN groupadd -r rocketchat \
63
89
&& useradd -r -g rocketchat rocketchat \
64
90
&& mkdir -p /app/uploads \
You can’t perform that action at this time.
0 commit comments