CurrencyService and PaymentService failing on skaffold run
See original GitHub issueRunning skaffold run
on branch master
and v0.3.0
produce error when build CurrencyService and PaymentService like below:
Building [currencyservice]...
Sending build context to Docker daemon 162.3kB
Step 1/13 : FROM node:12-alpine as base
---> f534e2bb4a44
Step 2/13 : FROM base as builder
---> f534e2bb4a44
Step 3/13 : RUN apk add --update --no-cache python make g++
---> Running in f458b16b79c2
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
python (no such package):
required by: world[python]
Building [paymentservice]...
Sending build context to Docker daemon 154.1kB
Step 1/13 : FROM node:12-alpine as base
---> f534e2bb4a44
Step 2/13 : FROM base as builder
---> f534e2bb4a44
Step 3/13 : RUN apk add --update --no-cache python make g++
---> Running in e6f4fe59a245
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
python (no such package):
required by: world[python]
Seem like this change in currencyservice/Dockerfile and paymentservice/Dockerfile will fix the error From:
RUN apk add --update --no-cache \
python \
make \
g++
To:
RUN apk add --update --no-cache \
py-pip \
make \
g++
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Error: received Ctrl-C or deployments could not stabilize within ...
Hey, I have an issue regarding the deployment part (localhost): Starting deploy... - deployment.apps/adservice configured ...
Read more >CLI | Skaffold
Skaffold command-line interface provides the following commands: End-to-end pipelines: skaffold run - to build & deploy once; skaffold dev - to ...
Read more >Debugging With Skaffold
Go-based applications are configured to run under Delve in its ... Failed liveness probes in particular result in the container being ...
Read more >Deploy Status Checking - Skaffold
This page describes how Skaffold's deployment status checking waits for deployed resources to become ready, and reports errors if they fails ...
Read more >Log Tailing - Skaffold
Skaffold has built-in support for tailing logs for containers built and deployed by Skaffold on your cluster to your local machine when running...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in https://github.com/GoogleCloudPlatform/microservices-demo/pull/616. Closing this issue. Thanks, all!
Hi @julianwagle!
python3
.python3
— sincepython2
is no longer maintained.python
is even needed in this Dockerfile anymore.