trevor

joined 1 year ago
[–] [email protected] 46 points 3 days ago (5 children)

Absolutely! Imperialism is bad when Russia does it, and when American/Israel does it.

[–] [email protected] 9 points 4 days ago (11 children)

That's an interesting way of framing Russia ending the world in a nuclear holocaust because Ukraine didn't want to be a part of Russia's sphere of influence.

It would be best for everyone if Russia would stop the escalation, and I hope they do. If not, we have to find a better solution to imperialism than appeasement, because that doesn't work long-term either.

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

That is a rad *fetch image 😎

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

Hopefully Russia ceases their invasion soon then. They could have ended it any time they wanted, but for some reason, they insist on keeping their "three-day, special military operation" going.

I'm rooting for peace. Hopefully, Russia comes around.

[–] [email protected] 1 points 1 week ago

Yeah. Piracy is alive-and-well. You can even acquire and play PS5 games right now if you wanted to.

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

It's also worth noting that even Sony can't be bothered to properly emulate the PS3, which has resulted in many PS3-era games being remade into either native PC versions, or PS4/5 titles.

While it's true that there are still some PS3-exclusive games that aren't available in other formats, many of them are, so most people can get pretty far without needing PS3 emulation.

I only bring that up for anyone that may think they need PS3 emulation, but maybe haven't been made aware of newer remakes or native PC ports of the games they're actually looking for.

[–] [email protected] 4 points 1 week ago* (last edited 1 week ago) (1 children)

The Green Party literally turned in a referrendum form instead of a ballot form. The judge approved what they turned in.

This fuckup is 1000000% the fault of the unserious members of the local Green Party. They may as well have signed it in crayon too.

Maybe next time, The Greens can take their jobs seriously and run a serious candidate and file the correct forms instead of whinging at the Democrats for their own mistake.

Now the question is: is Jill Stein 🤔?. The people will let democracy decide on their ballots.

[–] [email protected] 3 points 1 week ago

She didn't. She just said "as a Jewish American" and whomever transcribed it added the #, I guess for the engagement, which is good because the message that Jewish people stand against ethnostates and genocide is one that unfortunately many people still need to hear.

[–] [email protected] 8 points 1 week ago (15 children)

So anyway, god bless Chase Oliver, Jo Jorgensen, Gary Johnson, Ron Paul, and all other right-wing spoiler candidates. We thank you for your service o7o7o7

Also, we had this exact same conversation a few weeks ago, and it's ...interesting... that it followed the exact same dialogue tree and not at all suspicious of the integrity of your account... 🤔

[–] [email protected] 7 points 1 week ago (17 children)

I never said anything about fairness. You keep fixating on it.

US electoral politics have nothing to do with fairness. They are downright anti-democratic. Gotta play the game and make as few tactical mistakes (like voting for Grifting Jill) as possible.

I support actual left-wing parties when they're viable, but Jill Stein and Cornell West need to fuck right out of presidential elections and end their grift. The Greens and other third-parties that run in other elections they can actually win have my support and my vote.

[–] [email protected] 6 points 1 week ago (19 children)

Not a question of fairness for me. It's a question of if it's more likely to bring good things or bad things. Spoiler for repugs = good. Spoiler for dems = bad.

1
submitted 7 months ago* (last edited 7 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 ›