Update Docker builds

* Update Docker builds
This commit is contained in:
abraunegg 2026-01-11 07:25:57 +11:00
commit 5315b1329d
3 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ RUN go install -ldflags "-s -w" github.com/tianon/gosu@${GOSU_VERSION}
FROM fedora:${FEDORA_VERSION} AS builder-onedrive
RUN dnf install -y ldc pkgconf libcurl-devel sqlite-devel dbus-devel git awk
RUN dnf install -y ldc pkgconf libcurl-devel sqlite-devel dbus-devel git awk fuse3-devel
ENV PKG_CONFIG=/usr/bin/pkgconf
@ -28,7 +28,7 @@ FROM fedora:${FEDORA_VERSION}
RUN dnf clean all \
&& dnf -y update
RUN dnf install -y libcurl sqlite ldc-libs dbus-libs \
RUN dnf install -y libcurl sqlite ldc-libs dbus-libs fuse3-libs \
&& dnf clean all \
&& mkdir -p /onedrive/conf /onedrive/data

View file

@ -10,7 +10,7 @@ RUN go install -ldflags "-s -w" github.com/tianon/gosu@${GOSU_VERSION}
FROM alpine:${ALPINE_VERSION} AS builder-onedrive
RUN apk add --update --no-cache alpine-sdk gnupg xz curl-dev sqlite-dev dbus-dev binutils-gold autoconf automake ldc
RUN apk add --update --no-cache alpine-sdk gnupg xz curl-dev sqlite-dev dbus-dev fuse3-dev binutils-gold autoconf automake ldc
COPY . /usr/src/onedrive
WORKDIR /usr/src/onedrive
@ -26,7 +26,7 @@ FROM alpine:${ALPINE_VERSION}
RUN apk add --upgrade apk-tools \
&& apk upgrade --available
RUN apk add --update --no-cache bash libcurl libgcc shadow sqlite-libs ldc-runtime dbus-libs \
RUN apk add --update --no-cache bash libcurl libgcc shadow sqlite-libs ldc-runtime dbus-libs fuse3-libs \
&& mkdir -p /onedrive/conf /onedrive/data
COPY --from=builder-gosu /go/bin/gosu /usr/local/bin/

View file

@ -11,7 +11,7 @@ RUN apt-get clean \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential curl ca-certificates libcurl4-openssl-dev libsqlite3-dev libxml2-dev libdbus-1-dev pkg-config git ldc \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends build-essential curl ca-certificates libcurl4-openssl-dev libsqlite3-dev libxml2-dev libdbus-1-dev pkg-config git ldc libfuse3-dev \
# Install|update curl from backports
&& apt-get install -t ${DEBIAN_VERSION}-backports -y curl \
&& rm -rf /var/lib/apt/lists/*
@ -32,7 +32,7 @@ RUN apt-get clean \
&& echo "deb http://deb.debian.org/debian ${DEBIAN_VERSION}-backports main" > /etc/apt/sources.list.d/debian-${DEBIAN_VERSION}-backports.list \
&& apt-get update \
&& apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libsqlite3-0 ca-certificates libphobos2-ldc-shared110 libdbus-1-3 \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libsqlite3-0 ca-certificates libphobos2-ldc-shared110 libdbus-1-3 libfuse3-3 \
# Install|update curl and libcurl4t64 from backports to get the latest version
&& apt-get install -t ${DEBIAN_VERSION}-backports -y curl libcurl4t64 \
&& rm -rf /var/lib/apt/lists/* \