trevor

joined 1 year ago
[–] [email protected] 2 points 1 day ago

Yep. Fuck Nintendo. I don't care how good their games might be, they're not getting another dime from me for as long as they're hostile to their community and customers.

[–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (1 children)

I've only ever heard disingenuous, white, anti-vegan leftists ever make the claim that veganism is anti-indigenous.

[–] [email protected] 4 points 1 day ago

RustDesk is the closest alternative, and I think it does a pretty good job.

[–] [email protected] 2 points 2 days ago (1 children)

They're transitioning to a non-profit organization now. While non-profits have their own problems, and it doesn't make them exempt from enshittifying, it removes the profit incentive to do so.

In other words: I'd give them a little more credibility when it comes to this sort of thing until they give us a reason not to. I'm hopeful that they can be a positive force in the industries that they are in.

[–] [email protected] 8 points 2 days ago* (last edited 2 days ago)

Reactionaries will always piss and moan about every kind of protest; "stupid stunts" or otherwise. Those are the people you don't listen to, because if they had it their way, there would be no protesting.

The fact is that even their outrage draws attention to the issues and non-disruptive protests typically don't have anywhere near that level of notoriety.

Edit: adding a sourced article that cites multiple studies on the matter.

[–] [email protected] 5 points 3 days ago (3 children)

Nice conspiracy.

[–] [email protected] 4 points 3 days ago

A step in a marginally better direction. Next step: ban animal agriculture.

We need to solve the problem, not just tax it. Animal exploitation, while reason enough to ban it on its own, is also a primary driver in climate change and zoonotic diseases. If you want to solve either of those existential problems, banning animal agriculture must be a part of that strategy.

[–] [email protected] 1 points 4 days ago

Imagine being anti-exploitation/pro-liberation for everything, right up until it involves a hierarchy you benefit from 🤡

Couldn't be me 😎

[–] [email protected] 55 points 4 days ago (7 children)

Is anyone else bothered (but not surprised) by the fact that Amazon/Twitch agreed to cover it up for him? Seems pretty wild that they should be off the hook for working to protect his image after doing predatory shit like this.

[–] [email protected] 3 points 4 days ago

God bless 🫡 Get the occupying force the fuck outta there.

[–] [email protected] -3 points 4 days ago

It's analogous, and this is a comment section. Deal with it.

9
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

I am looking for something that can take a Dockerfile, like the following as an input:


FROM --platform=linux/amd64 debian:latest
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update && apt install -y curl unzip libsecret-1-0 jq
COPY entrypoint.sh .
ENTRYPOINT [ "/entrypoint.sh" ]

And produce a a multi-stage Dockerfile where the last stage is built from scratch, with the dependencies for the script in the ENTRYPOINT (or CMD) copied over, like this:


FROM --platform=linux/amd64 debian:latest as builder
ENV DEBIAN_FRONTEND=noninteractive

RUN apt update && apt install -y curl unzip libsecret-1-0 jq

FROM --platform=linux/amd64 scratch as app
SHELL ["/bin/bash"]

# the binaries executed in entrypoint.sh
COPY --from=builder /bin/bash /bin/bash
COPY --from=builder /usr/bin/curl /usr/bin/curl
COPY --from=builder /usr/bin/jq /usr/bin/jq
COPY --from=builder /usr/bin/sleep /usr/bin/sleep

# shared libraries of the binaries
COPY --from=builder /lib/x86_64-linux-gnu/libjq.so.1 /lib/x86_64-linux-gnu/libjq.so.1
COPY --from=builder /lib/x86_64-linux-gnu/libcurl.so.4 /lib/x86_64-linux-gnu/libcurl.so.4
COPY --from=builder /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libz.so.1
# ...a bunch of other shared libs...

# entrypoint
COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]

I've had pretty decent success creating images like this manually (using ldd to find the dependencies) based on this blog. To my knowledge, there's nothing out there that automates producing an image built from scratch, specifically. If something like this doesn't exist, I'm willing to build it myself.

view more: next ›