Giter Club home page Giter Club logo

Comments (6)

nickolaev avatar nickolaev commented on June 28, 2024

@uablrek can you please check if we can have a more sophisticated check?

from examples.

uablrek avatar uablrek commented on June 28, 2024

Yes I will try. Thanks for fixing the ci problems, I can't say I have understood those. Now when it works I can try to extend the testing. My problem has been that the base-image for NSE lacks every tcp test tool I could think of, only "ping" exists, so test from within the NSE pod is hard.
I will try to test from main netns on nodes with "nc".

from examples.

nickolaev avatar nickolaev commented on June 28, 2024

Oh, you can install whatever you need even in the check script if you want to.

If it is Alpine based it is a matter of apk update and then apk install curl for example. Ubuntu is apt-get update && apt-get install -y curl and so on. What tools do you need?

from examples.

uablrek avatar uablrek commented on June 28, 2024

Tried to add install of nc in the Dockerfile;

FROM ${VPP_AGENT} as runtime
RUN apt install -y netcat-openbsd
...

But unfortunately any "apt install" fails in the "${VPP_AGENT}" image;

# apt-get install -y netcat-openbsd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package netcat-openbsd

I tried a number of packages and all fails.

I will try something else.

from examples.

nickolaev avatar nickolaev commented on June 28, 2024

So the images get distributed with cleaned package cache to make time lighter weight. The typical way to make this work is like this: RUN apt-get update && apt-get install -y netcat-openbsd And then it is a good practice to clean up the cache again before the final image is built. So the final execution might be something like:

RUN apt update && apt install -y netcat-openbsd && rm -rf /var/lib/apt/lists/*

from examples.

uablrek avatar uablrek commented on June 28, 2024

Seems to work fine. Thanks!

from examples.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.