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

rclone version (docker) #276

Open
lakemike opened this issue May 12, 2024 · 4 comments
Open

rclone version (docker) #276

lakemike opened this issue May 12, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@lakemike
Copy link

lakemike commented May 12, 2024

I noted that the rclone version in the docker container is outdated (v1.65-DEV). As an enhancement for the docker container, it would be great if the build process always pulls the latest stable rclone version.

@lakemike lakemike added the enhancement New feature or request label May 12, 2024
@lakemike lakemike changed the title r line is rclone version (docker) May 12, 2024
@garethgeorge
Copy link
Owner

Hey, backrest bumps the rclone version with each new release (and uses the latest from the rclone apk on alpine Linux).

I haven’t cut a release in a bit so we’re lagging a bit behind but this is expected state; I aim to do releases infrequently (ideally monthly patch releases) in the fullness of time as backup software should aim to be stable without too much version churn.

If you need a specific rclone version I’d recommend a custom docker image on top of the published release

@lakemike
Copy link
Author

Hi, no worries, I can push an updated binary into the docker container.
But alpine may have been the issue in the build process. rclone v1.65-DEV is from 6 months ago and there have been plenty of updates afterwards, that didn't make it into the backrest docker container.

@garethgeorge
Copy link
Owner

just shipped another version of backrest which should be using the latest from alpine, I think I'm going to resolve this as works as intended as the docker image aims to use alpine packages for all deps. Happy to switch to a more up to date alpine package though if there is one.

@lakemike
Copy link
Author

Hi, I pulled the 1.0.0 docker image for backrest and rclone is still at "v1.65.0-DEV". At the same time, pkgs.alpinelinux.org (https://pkgs.alpinelinux.org/packages?name=rclone&branch=edge&repo=&arch=&maintainer=) shows "1.66.0-r2". I'm not sure I've done that right because I have too little experience with alpine and it's branches etc.

For the time being, I am happy adding the binary manually:

#!/bin/bash
docker compose up -d
DOCKERID=`docker ps | grep backrest | awk '{print $1}'`
# Execute commands inside the Docker container
docker exec $DOCKERID sh -c "cd /root && \
  wget -O rclone.zip https://github.com/rclone/rclone/releases/download/v1.66.0/rclone-v1.66.0-linux-amd64.zip && \
  unzip -j -o rclone.zip && \
  ln -sf /root/rclone /usr/bin/rclone"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants