sonic-net / sonic-net/sonic-restapi

There are not rest-api-image.gz file.

Open
#131 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
26
Forks
49
Avg merge
4d 23h
Merged PRs (30d)
1

Description

We want to test the restapi on switch, but we have not rest-api-image.gz file.

By the way...

After we run the ./build.sh

we does not found the "rest-api-image" in list of docker images...

~/sonic-restapi$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
rest-api-build-image latest f7e7bd6bf8ab 28 minutes ago 1.2GB
rest-api-image-test_local latest 18bcd429b2e5 About an hour ago 482MB

and then we check the build.sh content

-# build rest-api production image
-# docker build -t rest-api-image --rm .

-# save rest-api-image into a file
-# docker save rest-api-image | gzip > rest-api-image.gz

there are some comment about rest-api-image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with build.sh and inspect the commented production-image build and docker save commands shown in the issue. Check the existing image tags and build flow, then verify that the expected rest-api-image and rest-api-image.gz artifacts are produced by the documented build process.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
build-system, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.