-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unify sedmachine and sedmachine.docker
- Loading branch information
Showing
3 changed files
with
5 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
FROM alpine:latest | ||
COPY ./sedmachine.docker /opt/sedmachine | ||
RUN apk --no-cache add curl jq | ||
COPY ./sedmachine /opt/sedmachine | ||
COPY ./sed.docker /opt/sed-wrapper | ||
RUN install -D /dev/null /var/cache/sm_offset | ||
CMD ["sh","-c","while :; do /opt/sedmachine; done"] | ||
CMD ["sh","-c","while :; do SED=/opt/sed-wrapper /opt/sedmachine; done"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/busybox sh | ||
ulimit -u1 -n1 && exec sed "$@" |
This file was deleted.
Oops, something went wrong.