-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Structures Dockerfile based on operation, and simplifies dev environment #3295
Conversation
@mathemancer I'm just noticing that changes to the Dockerfile, and compose script, do not run our tests. I think we should change this behaviour to run tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, but see my specific comment on the Dockerfile.
Dockerfile
Outdated
RUN apt-get update -y; | ||
|
||
# Install common dependencies | ||
RUN apt-get install -y --no-install-recommends sudo ca-certificates curl gnupg gettext nodejs locales; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's important to use apt-get update
in the same RUN
command as apt-get install
whenever the latter is used.
See: https://docs.docker.com/develop/develop-images/instructions/#apt-get
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I've added f8011db to resolve this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, this looks good to me.
Fixes #2973
Technical details
gettext
, which is required for i18n projectdev-service
andservice
, which fixes Starting the dev service starts the db container which is nonessential #2973Checklist
Update index.md
).develop
branch of the repositoryvisible errors.
Developer Certificate of Origin
Developer Certificate of Origin