Comment

Comment by mdaniel

Almost certainly not

---

That was also the first time I had heard of denigma.app and their tagline of

We stress-tested it on the worst, most obscure code we could find. That's why we're confident it will work on your complex codebase.

gave me a good chuckle since just trivially modifying their example ... sort of worked

Given:

    RUN apt-get update && exit 1 && apt-get install -y libnss3 libgtk-3-0 libx11-xcb1 libxss1 libasound2
It produced:

- Next, apt-get is used to update the system and exit 1 is used to stop any further commands from running.

- Then libnss3, libgtk-3-0, libx11-xcb1, libxss1, and libasound2 are installed using apt-get.

For good fun, I tried another small edit

    RUN exit 1 && apt-get update && apt-get install -y libnss3 libgtk-3-0 libx11-xcb1 libxss1 libasound2
With an even better explanation:

- The code then runs an exit command and uses apt-get to update its package list before installing libnss3, libgtk-3-0, libx11-xcb1, libxss1, and asound2.

parent mdaniel 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton