question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CurrencyService and PaymentService failing on skaffold run

See original GitHub issue

Running 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:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
NimJaycommented, Feb 14, 2022

Fixed in https://github.com/GoogleCloudPlatform/microservices-demo/pull/616. Closing this issue. Thanks, all!

1reaction
NimJaycommented, Nov 11, 2021

Hi @julianwagle!

  • First, thanks so much for creating #616!
  • Your PR (along with Victor’s fix) inspired us the create #621 — which just uses python3.
  • @ckim328 and I decided on python3 — since python2 is no longer maintained.
  • But we’re not Python experts. 🤷‍♂️ And it’s unclear if python is even needed in this Dockerfile anymore.
  • If you update #616 to match #621 (i.e., use 3 instead of 2), I’m more than happy to merge #616 — but no pressure. 😃
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found