Plugins/docker Build fails with tar error 1

Hi. I have some problems on building a simple docker image. Someone can help me?
The same docker file on my docker works without problem.

Thank you

drone.yml

kind: pipeline
name: Drone Build
type: docker

steps:
  - name: building
    image: plugins/docker:linux-amd64
    settings:
      username:
        from_secret: DOCKER-REPO-USER
      password:
        from_secret: DOCKER-REPO-PASS
      repo: *****
      registry: *****
      tags: latest
      dockerfile: path/to/Dockerfile
      debug: true
trigger:
  event:
    - push
platform:
  os: linux
  arch: amd64

Dockerfile

FROM ubuntu:bionic 

RUN apt-get update && apt-get install -y --no-install-recommends \
        ca-certificates \
        curl \
        netbase \
        wget \
    && rm -rf /var/lib/apt/lists/*

RUN set -ex; \
    if ! command -v gpg > /dev/null; then \
        apt-get update; \
        apt-get install -y --no-install-recommends \
            gnupg \
            dirmngr \
        ; \
        rm -rf /var/lib/apt/lists/*; \
    fi

CMD ["/bin/sh"]

Error (after all apt messages):

time="2020-02-26T10:27:22Z" level=info msg="shim reaped" id=4123db6c9c69c0a9c94fae9ea32b057ea0c344f83aa15ed22168f81f0116b3b4
387 time="2020-02-26T10:27:22.471404550Z" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
388 Error processing tar file(exit status 1): operation not permitted
389 time="2020-02-26T10:27:23Z" level=fatal msg="exit status 1"