Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

feat(alpine-docker): use alpine image #24

Merged
merged 3 commits into from
Nov 20, 2018
Merged

Conversation

paulineribeyre
Copy link
Contributor

Use an Alpine-based docker image instead of Ubuntu

New Features

Breaking Changes

Bug Fixes

Improvements

Dependency updates

Deployment changes

The Dockerfile now uses an Alpine image

Copy link
Contributor

@frickjack frickjack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!
Couple comments/questions ...


ENV DEBIAN_FRONTEND=noninteractive
FROM tiangolo/uwsgi-nginx:python3.6-alpine3.7

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we just copy this guy's Dockerfile to ~/cloud-automation/Docker/uwsgi-nginx, and make our own alpine base image that all of our python services inherit from?

Dockerfile Outdated

# ensure www-data user exists
RUN addgroup -g 82 -S www-data \
&& adduser -u 82 -D -S -G www-data www-data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure alpine nginx already creates an nginx user - why don't we change nginx.conf to use that?

Copy link
Contributor

@frickjack frickjack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! 👍

@paulineribeyre paulineribeyre merged commit 9db7f9b into master Nov 20, 2018
@paulineribeyre paulineribeyre deleted the feat/alpine-docker branch November 20, 2018 21:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants