Skip to content

Commit

Permalink
Update Dockerfile to fix alpine version to avoid breaking changes.
Browse files Browse the repository at this point in the history
When alpine 3.13 was released I had breaking changes when building in minikube.

In general I think it's better to have fixed version so that if it works it doesn't break.

See kubernetes/minikube#10830 for the discussion about the original / upstream bug.
  • Loading branch information
wapiflapi authored Mar 16, 2021
1 parent f8f7b31 commit 6eaf997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/python3-fastapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM openfaas/of-watchdog:0.7.2 as watchdog
FROM python:3.7-alpine
FROM python:3.7-alpine3.12

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down

0 comments on commit 6eaf997

Please sign in to comment.