martialblog / docker-limesurvey

A Docker Image for LimeSurvey
https://hub.docker.com/r/martialblog/limesurvey/
MIT License
153 stars 69 forks source link

always installs the 6.0.5 version #193

Open pathros opened 1 day ago

pathros commented 1 day ago

Why do I always get the exact same version 6.0.5 no matter if I update the repo and clearly set the Dockerfile to:

ARG version="6.6.6+241002"
ARG sha256_checksum="59577d92f09219b467b0e96bc447b821ecd7d1dcdb102605475115b2e9ce084b"
ARG archive_url="https://github.com/LimeSurvey/LimeSurvey/archive/refs/tags/${version}.tar.gz"

and in docker-compose.yml:

    build:
      context: ./6.0/fpm/
      dockerfile: Dockerfile

???

<?php
/*
 * LimeSurvey
 * Copyright (C) 2007-2020 The LimeSurvey Project Team / Carsten Schmitz
 * All rights reserved.
 * License: GNU/GPL License v3 or later, see LICENSE.php
 * LimeSurvey is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */

$config['versionnumber'] = '6.0.5';
$config['dbversionnumber'] = 605;
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['templateapiversion']  = 3;
$config['assetsversionnumber'] = '30334';
return $config;

How can I make it install the latest limesurvey version available?

martialblog commented 12 hours ago

Hi,

using the docker-compose.yml in the repo, things look alright to me:

docker-compose up
[+] Running 2/2
 ⠿ Container docker-limesurvey-lime-db-1     Recreated 
 ⠿ Container docker-limesurvey-limesurvey-1  Recreated 

grep version application/config/version.php
 * LimeSurvey is free software. This version may have been modified pursuant
$config['versionnumber'] = '6.6.6';

Which images/compose files are you using? You might be running into this maybe: https://github.com/martialblog/docker-limesurvey/issues/56#issuecomment-853833141