My .circleci/config.yml have the next structure:
defaults: &defaults
docker:
- image: circleci/node:lts-stretch
- image: circleci/php:7.1-apache-node-browsers
- image: circleci/mysql:8.0.4
environment:
MYSQL_HOST: 127.0.0.1
MYSQL_DB: rpgjs_test
MYSQL_USER: root
MYSQL_PASSWORD: rpgjs_test_password
working_directory: ~/repo
But the image creation keeps failing and throws the next errors:
PHP
$ _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
Build was canceled
Mysql
ERROR 1396 (HY000) at line 1: Operation CREATE USER failed for
'root'@'%'
What am I doing wrong?
Aucun commentaire:
Enregistrer un commentaire