Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add airgap binaries embedding the Podman images #1120

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Jan 5, 2023

What does this PR do?

Publish new 'airgap' binaries on releases (not the pre-releases)

  • on mac, it embeds the qemu FCOS binaries
  • on Windows, it embeds the WSL binary

they're containing 'airgap' in their artifactname and are bigger.

When initializing a new podman machine using airgap binaries it'll use the embedded files and not grab it from internet

There is also an optional way to provide a custom image in the create menu

Screenshot/screencast of this PR

What issues does this PR fix or reference?

Fixes #185

How to test this PR?

You can test a binary setting env variable AIRGAP_DOWNLOAD

for example:

AIRGAP_DOWNLOAD=1 yarn compile:current

and then test the binary produced in dist/ folder (for example on mac, the generated dmg should be around 1.5GB in size)

Change-Id: I0b250ae2e018ff56eda1d2170fd91ab8cfc52eae
Signed-off-by: Florent Benoit fbenoit@redhat.com

@benoitf benoitf force-pushed the DESKTOP-185 branch 5 times, most recently from 61c2f1c to 505fd9e Compare January 5, 2023 14:23
- on mac, it embeds the qemu FCOS binaries
- on Windows, it embeds the WSL binary

When initializing a new podman machine using airgap binaries it'll use the embedded files and not grab it from internet

There is also an optional way to provide a custom image in the create menu

Change-Id: I0b250ae2e018ff56eda1d2170fd91ab8cfc52eae
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@cdrage cdrage merged commit f624590 into containers:main Jan 10, 2023
@cdrage
Copy link
Contributor

cdrage commented Jan 10, 2023

Confirmed that it worked! LGTM

@podman-desktop-bot podman-desktop-bot added this to the 0.11.0 milestone Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support air-gapped environment
3 participants