Giter Site home page Giter Site logo

Comments (5)

progrium avatar progrium commented on June 8, 2024

I think that's a question for the package maintainer.

On Sun, Feb 22, 2015 at 2:54 AM, Kjetil Flovild-Midtlie <
[email protected]> wrote:

Why do curl need lua?

(not needed in opkg)/ # apk-install curl
fetch http://dl-4.alpinelinux.org/alpine/v3.1/main/x86_64/APKINDEX.tar.gz
(1/8) Installing run-parts (4.4-r0)
(2/8) Installing openssl (1.0.1k-r0)
(3/8) Installing lua5.2-libs (5.2.3-r0)
(4/8) Installing lua5.2 (5.2.3-r0)
(5/8) Installing lua5.2-posix (32-r1)
(6/8) Installing ca-certificates (20141019-r0)
(7/8) Installing libssh2 (1.4.3-r0)
(8/8) Installing curl (7.39.0-r0)
Executing busybox-1.22.1-r14.trigger
Executing ca-certificates-20141019-r0.trigger
OK: 8 MiB in 23 packages


Reply to this email directly or view it on GitHub
#10.

Jeff Lindsay
http://progrium.com

from docker-alpine.

jbergknoff avatar jbergknoff commented on June 8, 2024

In case it helps, curl depends on ca-certificates which depends on lua.

from docker-alpine.

barthalion avatar barthalion commented on June 8, 2024

Lua 5.2 is a dependency because we're using custom script for updating CA certificates. It shouldn't be too hard to rewrite it in POSIX sh though.

from docker-alpine.

ncopa avatar ncopa commented on June 8, 2024

we replaced the ca-sertificates script to lua instead of shell due to significant performance improvement: http://bugs.alpinelinux.org/issues/2846#note-4

Lua is not that big. ~300k or so. Be happy its not perl or python (40M minimum) ;)

Shouldn't be too hard to replace it with C code in case someone cares enough.

from docker-alpine.

andyshinn avatar andyshinn commented on June 8, 2024

I'm going to close this. While I would love to have a smaller C binary dependency, it is something that should be in the upstream issue tracker at https://bugs.alpinelinux.org. I totally agree with the idea for the minimilast Docker image. But it isn't something we can solve in this repository.

from docker-alpine.

Related Issues (20)

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.