Giter VIP home page Giter VIP logo

Comments (4)

Naereen avatar Naereen commented on August 21, 2024 1

OK.

A clean way could be to use a git submodule (cf. https://git-scm.com/book/en/v2/Git-Tools-Submodules) to include my theme in your git repo.

I agree about the global goal of docker. I'm just not excited about it, exactly as Randall's last XKCD says:
https://imgs.xkcd.com/comics/containers.png

from nginx-fancyindex-theme.

ranomier avatar ranomier commented on August 21, 2024 1

This is xkcd? A very cool one.
The funny thing is, docker is the split screen function, in this example. (If done right) :3

I will look at the submodule solution. One thing i use, when i clone, is --depth=1, too minimize the image footprint. Maybe this is posibil with submodules too.

Good day and thank you for you suggestions :)

from nginx-fancyindex-theme.

Naereen avatar Naereen commented on August 21, 2024

Hi @ranomier,
Thanks for your interest 🙏.

I have no interest at all in docker, and will not consider testing any dockerfile, or other "container" technology.
So you are most welcome to do this on your own! Just respect the terms of the license of this repository, and do whatever you want 😃. (mainly this part of the license, "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.", please respect it)

But I must say I'm curious: what exactly do you expect to "contain" in this dockerfile? A ready-to-use nginx server + the fancy_index plugin + this configuration?
Because Nginx-Fancyindex-Theme is far from being self-contained.

Regards.

from nginx-fancyindex-theme.

ranomier avatar ranomier commented on August 21, 2024

Thanks for your answer :)

Yes it should be a ready to be used nginx server with your theme, only for the purpose of sharing files to the wild.

There is a design that docker shares with the idea of an unix principle: "an application should do one thing and that well"
or in docker terms: "Try to let only run one application per docker image"

I will definitely link to you github, source code page and i will mention the link in the docker file itself.

I will not fork you repo then, i will just clone this repo during the image creation process.

Thanks again :)

from nginx-fancyindex-theme.

Related Issues (19)

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.