Skip to content

Commit

Permalink
go: use bash not ash
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpi committed Oct 17, 2023
1 parent 7693736 commit fa8b9f8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go/1.19/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion go/1.20/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion go/1.21/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
2 changes: 1 addition & 1 deletion go/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/ash
#!/bin/bash

#
# Copyright (c) 2023 Matthew Penner
Expand Down

0 comments on commit fa8b9f8

Please sign in to comment.