title: failed to solve: rpc error: code = Unknown desc = executor failed running
body: <p>Trying to install docker image using dockerfile on top of Debian 10.3 and when run <code>docker-compose up --build</code>, I'm getting this issue:</p>
  <pre><code> &gt; [mariadb:10.3.24 13/18] RUN set -ex;         export GNUPGHOME=&quot;$(mktemp -d)&quot;;        for key in 177F4010FE56CA3336300305F1656F24C74CD1D8; do           gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys &quot;$key&quot;;  done;   gpg --batch --export 177F4010FE56CA3336300305F1656F24C74CD1D8 &gt; /etc/apt/trusted.gpg.d/mariadb.gpg;       command -v gpgconf &gt; /dev/null &amp;&amp; gpgconf --kill all || :;        rm -r &quot;$GNUPGHOME&quot;;     apt-key list:
  ------
  failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c set -ex;  export GNUPGHOME=&quot;$(mktemp -d)&quot;;  for key in $GPG_KEYS; do                gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys &quot;$key&quot;;  done;     gpg --batch --export $GPG_KEYS &gt; /etc/apt/trusted.gpg.d/mariadb.gpg;    command -v gpgconf &gt; /dev/null &amp;&amp; gpgconf --kill all || :;        rm -r &quot;$GNUPGHOME&quot;;     apt-key list]: exit code: 2
  </code></pre>
  <p>dockerfile:</p>
  <pre><code>FROM debian:10.3
  
  ...
  
  ENV MARIADB_MAJOR 10.3
  ENV MARIADB_VERSION 1:10.3.27-0+deb10u1
  
  RUN set -ex; \
      { \
          echo &quot;mariadb-server-$MARIADB_MAJOR&quot; mysql-server/root_password password &quot;$MYSQL_ROOT_PASSWORD&quot;; \
          echo &quot;mariadb-server-$MARIADB_MAJOR&quot; mysql-server/root_password_again password &quot;$MYSQL_ROOT_PASSWORD&quot;; \
      } | debconf-set-selections; \
      apt-get update; \
      apt-get install -y \
          &quot;mariadb-server=$MARIADB_VERSION&quot; \
          # mariadb-backup is installed at the same time so that `mysql-common` is only installed once from just mariadb repos
          mariadb-backup \
          socat \
      ; \
  
  </code></pre>
  <p>Anything related to specific package or other problem?</p>