-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Dockerfile for running these commands through a container (#4)
* Add Dockerfile * Add instructions for Docker usage
- Loading branch information
Showing
2 changed files
with
79 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM alpine:latest | ||
|
||
RUN apk add --no-cache git gcc musl-dev && \ | ||
git clone https://github.com/bucanero/ps3iso-utils.git && \ | ||
find ps3iso-utils -type f -name "*.c" -exec \ | ||
sh -c 'OFILE=`basename "{}" ".c"` && gcc "{}" -o /usr/local/bin/"$OFILE"' \; && \ | ||
rm -rf ps3iso-utils && \ | ||
apk del git gcc musl-dev | ||
|
||
WORKDIR /tmp |
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