Giter Site home page Giter Site logo

Comments (9)

b4tman avatar b4tman commented on June 14, 2024 1

I will add it, thanks

from docker-squid.

39ff avatar 39ff commented on June 14, 2024

I added the following two lines to the Dockerfile, and it worked

--enable-auth-basic="getpwnam,NCSA,DB" \
--enable-basic-auth-helpers=DB \
/ $ ls -alh /usr/lib/squid
total 520K
-rwxr-xr-x    1 root     root        5.6K Dec 21 09:04 basic_db_auth
-rwxr-xr-x    1 root     root       13.9K Dec 21 09:04 basic_getpwnam_auth
-rwxr-xr-x    1 root     root       26.2K Dec 21 09:04 basic_ncsa_auth

from docker-squid.

39ff avatar 39ff commented on June 14, 2024

Hello.
I'm sorry. I'd forgotten about the three dependencies.

RUN apk add --no-cache perl
RUN apk add --no-cache perl-dbi
RUN apk add --no-cache perl-dbd-mysql

However, this is not the minimum configuration for squid.
Please consider whether to include the above dependencies

from docker-squid.

39ff avatar 39ff commented on June 14, 2024

@b4tman
I've uploaded all the configuration examples here.
https://github.com/39ff/docker-squid-mysql

from docker-squid.

uqix avatar uqix commented on June 14, 2024

@b4tman /usr/lib/squid/storeid_file_rewrite not works due to lack of perl dependency.

from docker-squid.

b4tman avatar b4tman commented on June 14, 2024

@uqix
perl package adds 37.64 MB, so it's not currently included

better way to include it, is to write your own Dockerfile like this

FROM docker.io/b4tman/squid

RUN apk add --no-cache perl
RUN apk add --no-cache perl-dbi
RUN apk add --no-cache perl-dbd-mysql

(based on @39ff suggestion )

maybe i should add this to examples folder

from docker-squid.

uqix avatar uqix commented on June 14, 2024

Thanks for the tip, it works

from docker-squid.

github-actions avatar github-actions commented on June 14, 2024

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days.

from docker-squid.

github-actions avatar github-actions commented on June 14, 2024

Closing due to inactivity.

from docker-squid.

Related Issues (18)

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.