Skip to content

Fix continuation (fixing a warning)

Running docker --debug build -t bdepaula/docker-ubuntu-ces-slurm-sim:latest . I got the warning

 1 warning found:
 - Empty continuation line found in: RUN apt-get update     && apt-get --no-install-recommends -y install make        automake        autoconf        gcc        g++        libcurl4        debianutils        libglib2.0-dev        libgtk2.0-dev        vim        mariadb-server        mariadb-client        libmariadbd-dev        libpam0g-dev        git        wget        bzip2        libtool        libncurses-dev        libgdm1        libffi7        zlib1g-dev        zlib1g        pip        locales        supervisor     && pip install --no-cache-dir pandas     && rm -rf /var/lib/apt/lists/* ENV PYTHONDONTWRITEBYTECODE=1
Empty continuation lines will become errors in a future release
More info: https://github.com/moby/moby/pull/33719
Dockerfile:49
--------------------
  47 |         
  48 |     # manuel: avoid keeping bytecode 
  49 | >>> ENV PYTHONDONTWRITEBYTECODE=1
  50 |     
  51 |     # manuel: configure git to ignore certificates (SUUUPER SHADY)
--------------------

Solved removing the extra \ 👍

Merge request reports

Loading