Skip to content

Commit

Permalink
d?ash says Hello!
Browse files Browse the repository at this point in the history
The Almquist shell Wikipedia page is an absolute nugget. I had no idea
how multi-call binaries worked and what Busybox really was. Also TIL
it wasn't until the mid-2000s did Debian, Ubuntu, Slackware (and
presumably others) started requiring POSIX-Compliant shell scripts
because of all the bashisms.
  • Loading branch information
frison committed Feb 8, 2024
1 parent e6e9dc6 commit c2a6af6
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<p align="center">
<a href="https://hub.docker.com/r/100hellos" alt="DockerHub!">
<img src="https://img.shields.io/badge/Hello%20World!-49_to_go-yellow"
<img src="https://img.shields.io/badge/Hello%20World!-47_to_go-yellow"
height="130"></a>
</p>

Expand Down
5 changes: 5 additions & 0 deletions ash/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# syntax=docker/dockerfile:1
# escape=\
FROM 100hellos/000-base:local

COPY --chown=human:human ./files /hello-world
1 change: 1 addition & 0 deletions ash/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../Makefile.language-container.mk
3 changes: 3 additions & 0 deletions ash/files/hello-world.ash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ash

echo "Hello World!"
9 changes: 9 additions & 0 deletions dash/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# syntax=docker/dockerfile:1
# escape=\
FROM 100hellos/000-base:local

RUN sudo \
apk add --no-cache \
dash

COPY --chown=human:human ./files /hello-world
1 change: 1 addition & 0 deletions dash/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../Makefile.language-container.mk
3 changes: 3 additions & 0 deletions dash/files/hello-world.dash
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env dash

echo "Hello World!"

0 comments on commit c2a6af6

Please sign in to comment.