newsdev / docker-rails Goto Github PK
View Code? Open in Web Editor NEWThe base Ruby image with additions to support Rails.
Home Page: https://hub.docker.com/r/newsdev/rails/
License: Apache License 2.0
The base Ruby image with additions to support Rails.
Home Page: https://hub.docker.com/r/newsdev/rails/
License: Apache License 2.0
Otherwise we can't use any of the asset_path
family of url helpers in any sort of *.erb
asset files. They generate different files depending on Rails environment and so staging deploys will never be able to find those assets.
For repositories with Dockerfiles that we publish on Docker Hub, it could be helpful to use the same repository name on both websites. When looking at one of our repos that uses newsdev/rails
as a base, my first instinct is to look for that Dockerfile at github.com/newsdev/rails
.
While it's certainly worth it to learn about Docker Hub so we all understand where to look for non-NYT Dockerfiles, it might reduce confusion if we either:
newsdev/rails
, ornewsdev/docker-rails
please let me know when it is django thanks
At the moment, the section of the Dockerfile that runs bundle install
will fail if gems are not vendored locally in the repository:
# Install gems
ONBUILD COPY Gemfile Gemfile.lock /usr/src/app/
ONBUILD COPY vendor /usr/src/app/vendor
ONBUILD RUN bundle install --local --jobs `nproc`
Is there any way to make this step somehow optional? While vendoring works for us as a general rule, there are cases where it makes less sense, such as in open source projects.
The following RUN command is failing for me:
Step 8 : RUN gpg --keyserver pgp.mit.edu --recv-keys 279D5C91
---> Running in d578ff79371e
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 279D5C91 from hkp server pgp.mit.edu
gpgkeys: key 279D5C91 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
The command '/bin/sh -c gpg --keyserver pgp.mit.edu --recv-keys 279D5C91' returned a non-zero code: 2
Does that key id need to be updated from something?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.