Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: error when mounting fuse fs #88

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rclone_backup/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILD_FROM
FROM golang:1.23-alpine as build

Check warning on line 2 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build aarch64

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build amd64

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build armhf

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build armv7

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build i386

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

ARG BUILD_ARCH
ARG BUILD_FROM
Expand All @@ -25,7 +25,7 @@
&& go build -o scheduler.bin


FROM $BUILD_FROM

Check warning on line 28 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build aarch64

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build amd64

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build armhf

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build armv7

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 28 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build i386

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

# Build arguments
ARG BUILD_ARCH
Expand All @@ -36,7 +36,7 @@
ARG BUILD_REPOSITORY
ARG BUILD_VERSION

ENV LANG C.UTF-8

Check warning on line 39 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build aarch64

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 39 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build amd64

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 39 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build armhf

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 39 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build armv7

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 39 in rclone_backup/Dockerfile

View workflow job for this annotation

GitHub Actions / Build i386

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
# renovate: datasource=github-releases depName=rclone packageName=rclone/rclone
ENV RCLONE_INSTALLED_VERSION=1.68.1
# renovate: datasource=github-releases depName=rclone-webui packageName=rclone/rclone-webui-react
Expand All @@ -44,7 +44,8 @@

# Install fuse
RUN apk add fuse \
&& sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
&& sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf \
&& ln -s /bin/fusermount /bin/fusermount3

# Copy root filesystem
COPY rootfs /
Expand Down