Skip to content

Update scratch bootstrap docs - #328

Merged
dtrudg merged 1 commit into
apptainer:masterfrom
dtrudg:issue309
May 28, 2020
Merged

dtrudg merged 1 commit into
apptainer:masterfrom
dtrudg:issue309

Conversation

@dtrudg

@dtrudg dtrudg commented May 28, 2020

Copy link
Copy Markdown
Contributor

Add a worked example showing a minimal container.

Fixes: #309

Add a worked example showing a minimal container.

Fixes: #309
Comment thread appendix.rst
/tmp/busybox /bin/sh

%runscript
/bin/sh

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

That's so cool! Just curious, what is the difference in size between the docker provided busybox and this one?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Since we mention the smaller one here, it might be cool to say how large the original is. Disregard if it's a silly idea. :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The docker one is 764K in SIF format - so it's not that impressive ;-)

@dtrudg
dtrudg merged commit 696f972 into apptainer:master May 28, 2020
@vsoch

vsoch commented Jun 14, 2020

Copy link
Copy Markdown

hey @dctrud before I open an issue I thought I could ask you here - should scratch work with multistage builds? I just tried it (using master branch) and got:

FATAL:   While performing build: conveyor failed to get: invalid image source: invalid reference format

@vsoch

vsoch commented Jun 14, 2020

Copy link
Copy Markdown

oup nevermind - had a lingering docker from in the file! Sorry for the noise.

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.

Document BootStrap: scratch, potentially provide ADD-like command

3 participants