diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e44adbb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine:latest + +ARG GAME_URL +ARG GAME_ARGS + +WORKDIR site +RUN wget https://js-dos.com/6.22/current/js-dos.js && \ + wget https://js-dos.com/6.22/current/wdosbox.js && \ + wget https://js-dos.com/6.22/current/wdosbox.wasm.js && \ + wget -O game.zip "$GAME_URL" + +RUN apk add darkhttpd + +COPY index.html doom.png ./ +RUN sed -i s/GAME_ARGS/$GAME_ARGS/ index.html + +ENTRYPOINT ["/usr/bin/darkhttpd", "/site", "--port", "8000"] \ No newline at end of file diff --git a/README.md b/README.md index a241e0c..ab58a1f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # docker-carmensandiego +docker image of Where in the world is Carmen SanDiego Deluxe running on js-dos + +run the following to build +`docker build -t docker-carmensandiego --build-arg GAME_URL=https://code.imhard4.men/crappyrules/docker-carmensandiego/raw/branch/master/winwicsd.zip --build-arg GAME_ARGS=\"CARMEN.EXE\" .` + +once you have built the image, run with + +`docker run -d -p 8000:8000 docker-carmensandiego` \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..7b7fe36 --- /dev/null +++ b/index.html @@ -0,0 +1,40 @@ + + + + Carmen SanDiego Online + + + + + +




+
+ +
+

Where in the world is Carmen SanDiego

+

Carmen Sandiego is a former spy who has reddish-brown hair, + likes to play tennis, wear a ruby necklace and rides a stylish old convertible, + but mostly she is a criminal that you need to capture. In the game Where in the + World is Carmen Sandiego? you become a detective and you walk around the world and hunt criminals. + But do not expect any big action, like shooting, chases in cars, etc. + This game is designed especially for children and in entertaining way it teaches geographical + knowledge and to track down criminals, you have to link all parts together. + In the beginning you know just what sex is a criminal and you have to start asking questions around the area + to get more information. You don't get direct answers tho, but only indications and hints where criminal could go + (eg hotel staff will tell you that he changed money to forints, so you already know that apparently + he flew to Budapest, Hungary) and you need to follow him/her. + Although the game has poor graphics, it is really a lot of fun and I highly recommend it for everyone.

+ +