Replace cpp-httplib with sb:☁️:HTTP, and use it to send the arcade
auto-update remote log request.
Use -Oz instead of -O3 to reduce executable size on Linux, Windows, and
macOS builds.
Make the arcade auto-update script path configurable, and add support
for username and password credentials.
Add exit codes to the auto-update script to indicate specific results.
Update the remoter logger PHP script to read JSON data and prepend a
timestamp to the log entry.
Start an empty test case for HTTP functionality.
35 lines
1.8 KiB
Docker
35 lines
1.8 KiB
Docker
# ,~~~~~.
|
|
# |\~~~~: [ CAKEFOOT ] presented by 💫dank.game💫
|
|
# |\\~~~|
|
|
# |#\\~~: Licensed under the zlib and CC-BY licenses. See the details and browse the code at
|
|
# \\#\\~|
|
|
# \\#\\: <https://open.shampoo.ooo/shampoo/cakefoot>
|
|
# \\#\'
|
|
# \\#| Created with open-source WebGL game engine SPACE🪐BOX <https://open.shampoo.ooo/shampoo/spacebox>
|
|
# ```
|
|
#
|
|
# Docker instructions for building an Ubuntu 18.04 image that includes everything necessary for compiling Cakefoot. Tag
|
|
# the image with "cakefoot-ubuntu18" for compatbility with the Makefile.
|
|
#
|
|
# sudo docker build -t cakefoot-ubuntu18 src/ubuntu18/
|
|
|
|
FROM ubuntu:18.04
|
|
|
|
RUN sed -i '/deb-src/s/^# //' /etc/apt/sources.list && \
|
|
apt update && \
|
|
apt upgrade -y && \
|
|
apt install -y wget build-essential clang-8 rsync zip libcurl4-openssl-dev && \
|
|
apt build-dep -y libsdl2 && \
|
|
apt clean -y && apt autoclean -y && \
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
wget https://github.com/libsdl-org/SDL/releases/download/release-2.24.2/SDL2-2.24.2.tar.gz && \
|
|
wget https://github.com/libsdl-org/SDL_image/releases/download/release-2.6.2/SDL2_image-2.6.2.tar.gz && \
|
|
wget https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.20.1/SDL2_ttf-2.20.1.tar.gz && \
|
|
wget https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.6.2/SDL2_mixer-2.6.2.tar.gz && \
|
|
tar -xf SDL2-2.24.2.tar.gz && cd SDL2-2.24.2/ && ./configure && make && make install && cd .. && \
|
|
tar -xf SDL2_image-2.6.2.tar.gz && cd SDL2_image-2.6.2/ && ./configure && make && make install && cd .. && \
|
|
tar -xf SDL2_ttf-2.20.1.tar.gz && cd SDL2_ttf-2.20.1/ && ./configure && make && make install && cd .. && \
|
|
tar -xf SDL2_mixer-2.6.2.tar.gz && cd SDL2_mixer-2.6.2/ && ./configure && make && make install && cd .. && \
|
|
ldconfig && \
|
|
rm -rf SDL2*
|