Category : dockerfile

Dotnet publish was run first. dotnet publish WebApi.csproj -c Release -o out_linux -r linux-x64 By selenium/standalone-chrome we mean the image from here https://hub.docker.com/r/selenium/standalone-chrome If put Dockerfile below into out_linux directory how to achieve merging asp.net + selenium into a single container. I tried different combinations but was unable to achieve that. I don’t want dotnet ..

Read more

I’m running two docker containers form the exact same Docker image (see below) on two different host machines and I wonder why I’m seeing different permissions for my mounted host volume (i.e. ~/my-mounted-dir:/home/myuser/) when I’m inside each of the two containers: Host machines: Local Mac (MacOS Monterey), running Docker Desktop (4.2.0) and Docker Engine v20.10.10 ..

Read more

I’m using a docker container to build and run my java application and I want to see the test results that would usually be available from build/reports/tests/test/index.html. Here’s my Dockerfile: FROM alpine:latest RUN apk add gradle openjdk17 WORKDIR /home/proj COPY . . RUN gradle build ENTRYPOINT [ "java", "-jar", "./app/build/libs/app.jar" ] Here’s my docker-compose.yml: version: ..

Read more

I need to build a docker image of fio with librbd so that I can set the ioengine=rbd. I am building for arch aarch64. When I run fio with ioengine=rbd I get an error saying unable to load librbd. Any help here really appreciated. Here is my Dockerfile: # syntax=docker/dockerfile:1 From alpine RUN apk add ..

Read more