<p dir="auto">Hi,<br>
I'm trying to spin up the container with Deno, the build works fine but when I run the docker file I get this error:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="➜ docker run -it deno-app
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"><pre class="notranslate">➜ docker run -it deno-app
deno: error <span class="pl-k">while</span> loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory</pre></div>
<p dir="auto">Information:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="➜ deno --version
deno 1.8.2 (release, x86_64-apple-darwin)
v8 9.0.257.3
typescript 4.2.2"><pre class="notranslate">➜ deno --version
deno 1.8.2 (release, x86_64-apple-darwin)
v8 9.0.257.3
typescript 4.2.2</pre></div>
<p dir="auto">Dockerfile</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="FROM alpine

RUN apk update &amp;&amp; apk add curl

RUN curl -fsSL https://deno.land/x/install/install.sh | sh &amp;&amp; mv /root/.deno/bin/deno /bin/deno

ENTRYPOINT [&quot;deno&quot;]

CMD [&quot;run&quot;, &quot;--allow-net&quot;, &quot;https://deno.land/std/examples/welcome.ts&quot;]"><pre class="notranslate">FROM alpine

RUN apk update <span class="pl-k">&amp;&amp;</span> apk add curl

RUN curl -fsSL https://deno.land/x/install/install.sh <span class="pl-k">|</span> sh <span class="pl-k">&amp;&amp;</span> mv /root/.deno/bin/deno /bin/deno

ENTRYPOINT [<span class="pl-s"><span class="pl-pds">"</span>deno<span class="pl-pds">"</span></span>]

CMD [<span class="pl-s"><span class="pl-pds">"</span>run<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>--allow-net<span class="pl-pds">"</span></span>, <span class="pl-s"><span class="pl-pds">"</span>https://deno.land/std/examples/welcome.ts<span class="pl-pds">"</span></span>]</pre></div>
<p dir="auto">Running deno executable on alpine (frolvlad/alpine-glibc since glibc is required) fails since 1.8.0:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# running deno
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"><pre class="notranslate"><code class="notranslate"># running deno
deno: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
</code></pre></div>
<p dir="auto">if I install libstdc++ via <code class="notranslate">apk add libstdc++</code> I see (when running deno) a warning repeated 5 times:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using latest version (0.89.0) for http://deno.land/std/examples/welcome.ts
Download https://deno.land/std@0.89.0/examples/welcome.ts
Check https://deno.land/std/examples/welcome.ts
Welcome to Deno!"><pre class="notranslate"><code class="notranslate">deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
deno: /usr/lib/libstdc++.so.6: no version information available (required by deno)
Download https://deno.land/std/examples/welcome.ts
Warning Implicitly using latest version (0.89.0) for http://deno.land/std/examples/welcome.ts
Download https://deno.land/std@0.89.0/examples/welcome.ts
Check https://deno.land/std/examples/welcome.ts
Welcome to Deno!
</code></pre></div>
<p dir="auto">This is a regression since previously <code class="notranslate">libstdc++</code> was not required to be dynamically linked. As well as the warning being somewhat loud/unnecessary (?).</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lucacasonato/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lucacasonato">@lucacasonato</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/caspervonb/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/caspervonb">@caspervonb</a></p>
<p dir="auto"><a href="https://github.com/hayd/deno-docker/runs/2024710911?check_suite_focus=true">https://github.com/hayd/deno-docker/runs/2024710911?check_suite_focus=true</a></p>