Giter Site home page Giter Site logo

1.91 build about docker-build-s3fs HOT 19 CLOSED

maresb avatar maresb commented on May 28, 2024
1.91 build

from docker-build-s3fs.

Comments (19)

NoxInmortus avatar NoxInmortus commented on May 28, 2024 1

Oh I just found out. I was downloading the blob. So a faking html file.

Aaah ... :)

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Hello again!!!

In the past months I've gained some experience with multiarch docker builds via GH Actions, so I think I can finally slay #5 if I find an hour or so.

As for 1.91, let me see if I can do a quick publish via my previous workflow for you.

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Done! I didn't test it very thoroughly, so please let me know if you have any issues.

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

In the past months I've gained some experience with multiarch docker builds via GH Actions, so I think I can finally slay #5 if I find an hour or so.

Very nice ! :D
Thanks for the build!

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

Hey @maresb

dpkg -i s3fs_1.91+git-v1.91-3_amd64.deb 
dpkg-deb: error: 's3fs_1.91+git-v1.91-3_amd64.deb' is not a Debian format archive
dpkg: error processing archive s3fs_1.91+git-v1.91-3_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 s3fs_1.91+git-v1.91-3_amd64.deb

Am i missing something ? Long time I didnt use s3fs

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Hi @NoxInmortus, strange, it works for me:

From the repository root,

docker run --rm -it -v $PWD:/docker-build-s3fs ubuntu:20.04
apt update && dpkg -i /docker-build-s3fs/builds/s3fs_1.91+git-v1.91-3_amd64.deb
DEBIAN_FRONTEND=noninteractive apt -f -y install && s3fs --version

I wonder if Git is mangling the file. I'll try the same procedure with a fresh clone...

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Ya, prepending

cd /tmp && git clone [email protected]:maresb/docker-build-s3fs.git && cd docker-build-s3fs

it's still working for me. Is it possible that your download is corrupt for some reason? Could you verify the md5sum?

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

Just tried on two differents vm:

:~/git $ git clone https://github.com/maresb/docker-build-s3fs.git
Cloning into 'docker-build-s3fs'...
remote: Enumerating objects: 229, done.
remote: Counting objects: 100% (58/58), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 229 (delta 38), reused 31 (delta 26), pack-reused 171
Receiving objects: 100% (229/229), 164.00 KiB | 2.60 MiB/s, done.
Resolving deltas: 100% (133/133), done.

:~/git $ cd docker-build-s3fs/builds/

:~/git/docker-build-s3fs/builds (master u=) $ md5sum s3fs_1.91+git-v1.91-3_amd64.deb 
95d714f60e8d294ed23b097384dd3c54  s3fs_1.91+git-v1.91-3_amd64.deb

It does not seems to be the same as displayed in the README.

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Very strange!

I'm getting the same md5sum from the readme.

/tmp $ md5sum docker-build-s3fs/builds/s3fs_1.91+git-v1.91
-3_amd64.deb
95192b8c47c931623eb1ce49282338eb  docker-build-s3fs/builds/s3fs_1.91+git-v1.91-3_amd64.deb

Could you possibly have some Git hook which is mangling the file? Which OS are you running?

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

Not at all, using classic Ubuntu 20.04, i'm wondering wtf is happening...

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

Guess i will just build

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Weird!!!!!

Perhaps there's something up with Git LFS.

Try downloading from here: https://github.com/maresb/docker-build-s3fs/raw/master/builds/s3fs_1.91%2Bgit-v1.91-3_amd64.deb

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

Dude it worked.

I have no clue x)

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

I read your way to install it through mamba, but as a non-conda/mamba user, it just feel so much easier to just install a deb package...

Thanks for your time anyway

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

Haha, that's really weird. Please let me know if you figure out what was going wrong.

How large was the corrupt file? (When Git LFS fails, in place of the binary files you end up with short text files with a pointer to the download link.)

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

But doesn't that contradict #8 (comment)? There you checked a clone.

from docker-build-s3fs.

NoxInmortus avatar NoxInmortus commented on May 28, 2024

Indeed that was two separate tries.

$ git clone https://github.com/maresb/docker-build-s3fs/
Cloning into 'docker-build-s3fs'...
lremote: Enumerating objects: 229, done.
remote: Counting objects: 100% (58/58), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 229 (delta 38), reused 31 (delta 26), pack-reused 171
Receiving objects: 100% (229/229), 164.00 KiB | 3.64 MiB/s, done.
Resolving deltas: 100% (133/133), done.

$ cd docker-build-s3fs/builds/

$ du -hs s3fs_1.91+git-v1.91-3_amd64.deb 
4.0K    s3fs_1.91+git-v1.91-3_amd64.deb

$ cat s3fs_1.91+git-v1.91-3_amd64.deb 
version https://git-lfs.github.com/spec/v1
oid sha256:9eca7cb1e9bb08b8e3ae9b476287712a8293493630c76d9102c5ac0058b098c0
size 222340

Guess you learn everyday

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

@NoxInmortus, regarding conda-forge, I should mention that if you just want the binary, you can skip the whole mamba environment setup and run

curl -Ls https://anaconda.org/conda-forge/s3fs-fuse/1.91/download/linux-64/s3fs-fuse-1.91-h66f7299_0.tar.bz2 | tar -xvj --strip-components=1 bin/s3fs

which will create the s3fs binary in the current directory. (This is not a great solution since it will not take care of the dependencies!)

from docker-build-s3fs.

maresb avatar maresb commented on May 28, 2024

I documented my above comment more thoroughly under https://github.com/maresb/docker-build-s3fs/blob/master/README.md#alternatives

from docker-build-s3fs.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.