Code Monkey home page Code Monkey logo

docker's People

Contributors

actions-user avatar ahukkanen avatar andreslucena avatar deivid-rodriguez avatar froger avatar josepjaume avatar jsperezg avatar loleg avatar mrcasals avatar oliverbarnes avatar oriolgual avatar tramuntanal avatar

Watchers

 avatar  avatar

docker's Issues

I can use FROM decidim to build my own docker image

As a developper, I want to be able to do

FROM decidim:026-alpine
RUN my-script

For now, I will have a lot of issues I want to do this as there is a USER command in alpine image. The user created in the base image won't be accessible in the child one.

FROM decidim:026-alpine
USER root
COPY ./my-exe /usr/local/bin
USER decidim

Wont work.

tasks

  • Remove add-users, add-group, USER directive in templates
  • update README to incite people to create their own Docker image with a FROM directive
  • Prepare a PR to decidim-generators to add the Dockerfile, link the fork's branch without doing actual PR (blocked by merging this, and publish to decidim docker hub).

Test published image

would be great to run the tests of the generated image. Ideally, all tests of decidim-* would be executed in a github action.

027+dev: bundle exec rails assets:precompile don't work

As newest version of decidim don't use the sass gem but the new dart alternative, the gems won't compile.
There are two options to consider:

  1. Add a webpack configuration to use sass gem while on alpine
  2. Add the necessary executables to run dart-node.

Reference:

Known fix:

  1. create a new decidim sass loader, using the sass gem, and add the overrides. (/config/webpacker/custom.js)
  2. add the gem sass to the gemfile

Refactoring alpine and dev image

For now we use an ugly copy/pasting method to be able to build and push at the same time dev and alpine images.

What would be needed:

  • Add in alpine template a FROM decidim:matching-dev-tag
  • Split github action in two, to first build and publish dev image, then alpine image
  • Remove old copy-pasting

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.