File Permissions/Ownership Bug in Docker 20.10.25-0ubuntu1

UPDATE 2023-08-28 The bug is now fixed, you only need to update to the newest version of docker on affected systems! ORIGINAL TEXT Yesterday night I have tried to build a container running a python-application as non-root user and I stumbled onto a bug currently tracked as #2029523. Example Dockerfile: FROM alpine:latest ENV BUSTCACHE=2 RUN adduser -S -D -h /home/test test && ls -al /home/test WORKDIR /home/test COPY --chown=test:nogroup foo.txt foo....

2023-08-20 · 3 min · 491 words · Jan Kapellen

Installing JAVA JDK/JRE on Debian/Ubuntu with ease

I recently commenced the third installation of JAVA on one of my Debian-Boxes and couldn’t remember any of the exact commands, had to google again, ended up with 8 open tabs all saying something different and so wrote this small bash script to set up all necessary alternatives with “update-alternatives” automatically. Please note that there has to be either icedtea or openjdk installed to make all parts of this script work....

2013-08-13 · 2 min · 260 words · Jan