feat(client): update Minetest client Dockerfile

The commit updates the Minetest client Dockerfile by adjusting the COPY command indentation to correctly copy the minetest.conf file.  Update docker version to 27.
This commit is contained in:
Yves-Marie Haussonne 2024-09-30 19:29:41 +02:00
parent 9fb5b94eb0
commit d0423c6c6b
2 changed files with 18 additions and 18 deletions

View File

@ -1,7 +1,7 @@
default: default:
image: docker:20.10.16 image: docker:27-cli
services: services:
- docker:20.10.16-dind - docker:27-dind
before_script: before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin - echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin

View File

@ -57,22 +57,22 @@ RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc luajit irrlicht x11
WORKDIR /var/lib/minetest WORKDIR /var/lib/minetest
COPY <<'EOF' /var/lib/minetest/.minetest/minetest.conf COPY <<-EOF /var/lib/minetest/.minetest/minetest.conf
enable_fog = false enable_fog = false
leaves_style = opaque leaves_style = opaque
smooth_lighting = false smooth_lighting = false
enable_clouds = false enable_clouds = false
enable_sound = false enable_sound = false
enable_particles = false enable_particles = false
undersampling = 8 undersampling = 8
enable_shaders = false enable_shaders = false
fps_max = 10 fps_max = 10
viewing_range = 20 viewing_range = 20
screen_w = 640 screen_w = 640
screen_h = 480 screen_h = 480
fullscreen_bpp = 8 fullscreen_bpp = 8
fov = 45 fov = 45
video_driver = opengl video_driver = opengl
EOF EOF
RUN chown minetest:minetest /var/lib/minetest/.minetest/minetest.conf RUN chown minetest:minetest /var/lib/minetest/.minetest/minetest.conf