This profile is from a federated server and may be incomplete. Browse more on the original instance.
Dirk, 1 year ago to selfhosted in Uid/gid in docker containers don't match the uid/gid on the server? You don’t need to create the user first. Here’s the simplest I can come up with: <span style="color:#323232;">FROM alpine:latest </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh </span><span style="color:#323232;">USER 10000:10001 </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"] </span> This simply runs /app/myscript.sh with UID 10000 and GID 10001.
You don’t need to create the user first. Here’s the simplest I can come up with:
<span style="color:#323232;">FROM alpine:latest </span><span style="color:#323232;">COPY myscript.sh /app/myscript.sh </span><span style="color:#323232;">USER 10000:10001 </span><span style="color:#323232;">CMD ["sh", "/app/myscript.sh"] </span>
This simply runs /app/myscript.sh with UID 10000 and GID 10001.
/app/myscript.sh
Dirk, 1 year ago to linux in Is DNS Bloat too? Looks fine 👍
Looks fine 👍
Dirk, 1 year ago to linux in Is DNS Bloat too? Ah, yes. https://lemmy.ml/pictrs/image/135b1cce-187f-4320-866b-a445b0d8a8f3.png
Ah, yes.
Dirk, 1 year ago to linux in Linux Boomers Old things bad, new things good. I write article that is satire about it. I’m strong. I’m no boomer. Please love me. cope cope cope
Old things bad, new things good. I write article that is satire about it.
I’m strong. I’m no boomer. Please love me.
cope cope cope
Dirk, 1 year ago to memes in paying those bills with memes TIL: There is a second image.
TIL: There is a second image.
Dirk, 1 year ago to linux in Wayland-Proxy Load Balancer Helping Firefox Cope With Wayland Issues When you need a proxy between your application and your graphics server then something fundamental went wrong long before.
When you need a proxy between your application and your graphics server then something fundamental went wrong long before.
Dirk, 1 year ago to memes in Sometimes you just want it to be simple Things explode for no real reason, everyone laughs. Just a stupid funny action movie.
Things explode for no real reason, everyone laughs.
Just a stupid funny action movie.
Dirk, 1 year ago to programmer_humor in Release notes of an open source app. Someone is pretty mad at Canonical for Snap Why are they even still pushing that nonsense It’s a for-profit corporation. They only have one goal.
Why are they even still pushing that nonsense
It’s a for-profit corporation. They only have one goal.
Dirk, 1 year ago to memes in purrrfectly normal Meanwhile, the cats: https://lemmy.ml/pictrs/image/6168da7f-99cc-4072-a6e5-d8cb1e8f29ac.png
Meanwhile, the cats:
https://lemmy.ml/pictrs/image/6168da7f-99cc-4072-a6e5-d8cb1e8f29ac.png
Dirk, 1 year ago to fuck_cars in Europe’s politicians are dEsPeRaTe to tackle e-scooters, why aren’t they bothered by monster SUVs? Because the politicians are deep up in the automobile lobby’s ass.
Because the politicians are deep up in the automobile lobby’s ass.
Dirk, 1 year ago to linux in 100 Million Firmware Updates Supplied By The LVFS Haha, yeah … where’s the article? https://lemmy.ml/pictrs/image/19fa25eb-edcb-4413-a1e9-3050ab5f021e.png
Haha, yeah … where’s the article?
https://lemmy.ml/pictrs/image/19fa25eb-edcb-4413-a1e9-3050ab5f021e.png
Dirk, 1 year ago to memes in If you needed motivation So you say I should rob a store, or what?
So you say I should rob a store, or what?
Dirk, 1 year ago to linux in What is the state of Multiseat in Linux today? Less resources needed, less physical space needed, less power consumption, no need for a network, don’t need to maintain/update multiple systems, etc.
Less resources needed, less physical space needed, less power consumption, no need for a network, don’t need to maintain/update multiple systems, etc.
Dirk, 1 year ago to memes in Terms of Service Forget YouTube. Sony owns a patent for a system/concept that needs you to audibly name the company/product the advertisement is for to continue at the end of the advertisement. fortune.com/…/sony-patent-is-hilarious-terrifying…
Forget YouTube.
Sony owns a patent for a system/concept that needs you to audibly name the company/product the advertisement is for to continue at the end of the advertisement.
fortune.com/…/sony-patent-is-hilarious-terrifying…
Dirk, 1 year ago to asklemmy in What are Lemmy's unwritten rules? Don’t have an opinion too far away from the general public.