Compare commits
2 Commits
473cbf2002
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 666511e258 | |||
| f80a532888 |
@@ -1,10 +1,12 @@
|
|||||||
FROM --platform=linux/arm64 alpine:3.20
|
FROM alpine:3.20
|
||||||
|
|
||||||
RUN apk add --no-cache gdb strace
|
RUN apk add --no-cache gdb strace
|
||||||
|
|
||||||
WORKDIR /challenge
|
WORKDIR /challenge
|
||||||
COPY main ./main
|
COPY main ./main
|
||||||
COPY license ./build/license
|
|
||||||
RUN chmod +x ./main
|
RUN chmod +x ./main
|
||||||
|
|
||||||
CMD ["/challenge/main"]
|
COPY license ./license
|
||||||
|
|
||||||
|
|
||||||
|
CMD ["/bin/sh"]
|
||||||
@@ -109,6 +109,8 @@ int main(int argc, char** argv) {
|
|||||||
fprintf(f_readme, "This doesn't just run on any hardware, I don't know how they did it\n");
|
fprintf(f_readme, "This doesn't just run on any hardware, I don't know how they did it\n");
|
||||||
fprintf(f_readme, "but it only works on my %s processor\n", hwinfo.model_name);
|
fprintf(f_readme, "but it only works on my %s processor\n", hwinfo.model_name);
|
||||||
fprintf(f_readme, "running linux (version %s) with %s kb of RAM\n", hwinfo.os_version, hwinfo.mem_total);
|
fprintf(f_readme, "running linux (version %s) with %s kb of RAM\n", hwinfo.os_version, hwinfo.mem_total);
|
||||||
|
fprintf(f_readme, "I also included a dockerfile so you can run all that shi easier.\n");
|
||||||
|
fprintf(f_readme, "Just unzip that thang and run docker build . -t local-dev and then docker run -it local-dev in the folder you unzipped to.\n");
|
||||||
fprintf(f_readme, "You'll find a way, slime. I'm sorry that I can't give you any more details\n");
|
fprintf(f_readme, "You'll find a way, slime. I'm sorry that I can't give you any more details\n");
|
||||||
fprintf(f_readme, "this is the last message I could get out before they... you know... ⛓️👮♂️\n");
|
fprintf(f_readme, "this is the last message I could get out before they... you know... ⛓️👮♂️\n");
|
||||||
fprintf(f_readme, "\n");
|
fprintf(f_readme, "\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user