mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Update Docker builds
* Update Docker builds
This commit is contained in:
parent
9c98fb0bae
commit
5315b1329d
3 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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/
|
||||
|
|
|
|||
|
|
@ -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/* \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue