laradock 工作区构建失败

如何解决laradock 工作区构建失败

我正在使用 laradock 进行开发。我的项目需要 nginx mariadb phpmyadmin redis 工作区 php-fpm 和 elasticsearch 图像。但是,在构建工作区映像时构建过程会停止。

这是控制台输出:

Building workspace
Step 1/307 : ARG LARADOCK_PHP_VERSION
Step 2/307 : ARG BASE_IMAGE_TAG_PREFIX=latest
Step 3/307 : FROM laradock/workspace:${BASE_IMAGE_TAG_PREFIX}-${LARADOCK_PHP_VERSION}
 ---> ce8386d44649
Step 4/307 : LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
 ---> Running in 30a9f156757d
Removing intermediate container 30a9f156757d
 ---> bd518ebb424b
Step 5/307 : ARG LARADOCK_PHP_VERSION
 ---> Running in a3634c265c2d
Removing intermediate container a3634c265c2d
 ---> 62286407a411
Step 6/307 : ENV DEBIAN_FRONTEND noninteractive
 ---> Running in 327f85579428
Removing intermediate container 327f85579428
 ---> 6f29cf0a9463
Step 7/307 : ARG CHANGE_SOURCE=false
 ---> Running in 05617b1d0e13
Removing intermediate container 05617b1d0e13
 ---> 1b2299b6501e
Step 8/307 : RUN if [ ${CHANGE_SOURCE} = true ]; then     sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list &&     sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list &&     sed -i 's/security-cdn.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list ;fi
 ---> Running in 0e602f5d6d87
Removing intermediate container 0e602f5d6d87
 ---> 442b7b4810bc
Step 9/307 : USER root
 ---> Running in 4a9b7238f786
Removing intermediate container 4a9b7238f786
 ---> ad887b677d98
Step 10/307 : ARG PUID=1000
 ---> Running in 21d39b04ba4c
Removing intermediate container 21d39b04ba4c
 ---> 8982f7c0f430
Step 11/307 : ENV PUID ${PUID}
 ---> Running in 1a28ae96c1cb
Removing intermediate container 1a28ae96c1cb
 ---> aef72974f6df
Step 12/307 : ARG PGID=1000
 ---> Running in a52875c7adda
Removing intermediate container a52875c7adda
 ---> 75ce4d9a0adb
Step 13/307 : ENV PGID ${PGID}
 ---> Running in 1a5df45f1a21
Removing intermediate container 1a5df45f1a21
 ---> f043c326df85
Step 14/307 : ARG CHANGE_SOURCE=false
 ---> Running in 959e5d4e5b33
Removing intermediate container 959e5d4e5b33
 ---> f1493c0316a3
Step 15/307 : ARG UBUNTU_SOURCE
 ---> Running in 51eee6e5300c
Removing intermediate container 51eee6e5300c
 ---> 87ae758d90b7
Step 16/307 : COPY ./sources.sh /tmp/sources.sh
 ---> 30b695ff071a
Step 17/307 : RUN if [ ${CHANGE_SOURCE} = true ]; then     chmod +x /tmp/sources.sh &&     /bin/sh -c /tmp/sources.sh &&     rm -rf /tmp/sources.sh ;fi
 ---> Running in 57ca0d9faaee
Removing intermediate container 57ca0d9faaee
 ---> 28b7302ca4e9
Step 18/307 : RUN set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g ${PGID} laradock &&     useradd -u ${PUID} -g laradock -m laradock -G docker_env &&     usermod -p "*" laradock -s /bin/bash &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip       php${LARADOCK_PHP_VERSION}-zip       nasm &&       php -m | grep -q 'zip'
 ---> Running in d3c6b647172a
+ apt-get update -yqq
E: Release file for http://ppa.launchpad.net/ondrej/php/ubuntu/dists/bionic/InRelease is not valid yet (invalid for another 22d 1h 21min 40s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 22d 0h 20min 42s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 22d 0h 46min 46s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 22d 0h 22min 24s). Updates for this repository will not be applied.
Service 'workspace' failed to build : The command '/bin/sh -c set -xe;     apt-get update -yqq &&     pecl channel-update pecl.php.net &&     groupadd -g ${PGID} laradock &&     useradd -u ${PUID} -g laradock -m laradock -G docker_env &&     usermod -p "*" laradock -s /bin/bash &&     apt-get install -yqq       apt-utils       libzip-dev zip unzip       php${LARADOCK_PHP_VERSION}-zip       nasm &&       php -m | grep -q 'zip'' returned a non-zero code: 100

任何帮助将不胜感激。

谢谢

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-