Podman (rootless) was throwing an error while I was trying to deploy owntracks with the official image:
Error: open `.../.local/share/containers/storage/overlay/.../merged/.containerenv`: No such file or directory: OCI runtime attempted to invoke a command that was not found
So I tried to build the image myself but I encountered another error:
$ git clone https://github.com/owntracks/docker-recorder && cd docker-recorder
$ podman build --tag owntracks-local -f ./Dockerfile
[1/2] STEP 1/8: FROM alpine:3.15 AS builder
[1/2] STEP 2/8: ARG RECORDER_VERSION=0.9.0
--> 02aa05d5ece
[1/2] STEP 3/8: RUN apk add --no-cache make gcc git shadow musl-dev curl-dev libconfig-dev mosquitto-dev lmdb-dev libsodium-dev lua5.2-dev
error running container: error from /usr/bin/crun creating container for [/bin/sh -c apk add --no-cache make gcc git shadow musl-dev curl-dev libconfig-dev mosquitto-dev lmdb-dev libsodium-dev lua5.2-dev]: open `/var/tmp/buildah489432088/mnt/rootfs/resolv.conf`: No such file or directory
: exit status 1
[2/2] STEP 1/13: FROM alpine:3.15
Error: error building at STEP "RUN apk add --no-cache make gcc git shadow musl-dev curl-dev libconfig-dev mosquitto-dev lmdb-dev libsodium-dev lua5.2-dev": error while running runtime: exit status 1
I didn't notice anything that could potentially cause this error within the Dockerfile. So I updated the alpine image version to 3.16 and ran the build again, which seems to fix the issue.
Podman (rootless) was throwing an error while I was trying to deploy owntracks with the official image:
So I tried to build the image myself but I encountered another error:
I didn't notice anything that could potentially cause this error within the Dockerfile. So I updated the alpine image version to 3.16 and ran the build again, which seems to fix the issue.
I haven't tested it with Docker, but I'm leaving this in case anyone's using Podman.