Skip to content

[meetup] Remove perl usage from example solution#771

Merged
kotp merged 1 commit intoexercism:mainfrom
IsaacG:meetup_no_perl
May 5, 2026
Merged

[meetup] Remove perl usage from example solution#771
kotp merged 1 commit intoexercism:mainfrom
IsaacG:meetup_no_perl

Conversation

@IsaacG
Copy link
Copy Markdown
Member

@IsaacG IsaacG commented May 5, 2026

No description provided.

@IsaacG IsaacG added x:action/improve Improve existing functionality/content x:module/practice-exercise Work on Practice Exercises x:size/small Small amount of work x:rep/small Small amount of reputation labels May 5, 2026
@IsaacG
Copy link
Copy Markdown
Member Author

IsaacG commented May 5, 2026

I was trying to change the test runner from Ubuntu to Alpine but this example solution uses perl. I don't think we want to provide perl as part of the tooling/test runner image. Removing it from the example.

See also #770

+cc @kotp

IsaacG added a commit to IsaacG/bash-test-runner that referenced this pull request May 5, 2026
This shrinks the image from 244MB to 14.6MB.

78MB of the prior image is the Ubuntu layer so we don't actually reclaim
that space. However, the Ubuntu `apt-get` command adds 166MB vs the
Alpine `apk add` which adds 5.6MB. That saves 160MB.

This passes all the tests and example solutions once
exercism/bash#771 and
exercism/bash#772 are included.
IsaacG added a commit to IsaacG/bash-test-runner that referenced this pull request May 5, 2026
This shrinks the image from 244MB to 14.6MB.

78MB of the prior image is the Ubuntu layer so we don't actually reclaim
that space. However, the Ubuntu `apt-get` command adds 166MB vs the
Alpine `apk add` which adds 5.6MB. That saves 160MB.

This passes all the tests and example solutions once
exercism/bash#771 and
exercism/bash#772 are included.
@kotp kotp merged commit a877de5 into exercism:main May 5, 2026
3 checks passed
IsaacG added a commit to exercism/bash-test-runner that referenced this pull request May 5, 2026
* Switch the test runner Docker image to use Alpine.

This shrinks the image from 244MB to 14.6MB.

78MB of the prior image is the Ubuntu layer so we don't actually reclaim
that space. However, the Ubuntu `apt-get` command adds 166MB vs the
Alpine `apk add` which adds 5.6MB. That saves 160MB.

This passes all the tests and example solutions once
exercism/bash#771 and
exercism/bash#772 are included.

* Do not create a test file where none previously existed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/improve Improve existing functionality/content x:module/practice-exercise Work on Practice Exercises x:rep/small Small amount of reputation x:size/small Small amount of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants