Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

fix wget: "error getting response" problem #905

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ FROM BASEIMAGE AS build
COPY qemu-QEMUARCH-static /usr/bin/

# device-mapper is needed for snapshot functionalities
# openssl and wget needes to be updated.
RUN apk add --no-cache \
device-mapper
device-mapper \
openssl \
wget
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Dockerfile is for the ignite sandbox container image. Can you share what's the use case of wget in the sandbox?
If it's a problem in the OS images, we can do something similar in the OS images.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
In step 5, we use wget pull the firecracker image, and we get an error.

image
And in the docker container, we can wget http but not https. Then we update wget by apk add wget and wget works on https now.

So, it's actually a problem in the OS images.


# Download the Firecracker binary from Github
ARG FIRECRACKER_VERSION
Expand Down