laradock / workspace Goto Github PK
View Code? Open in Web Editor NEWLaradock Base Image.
Home Page: http://laradock.io/
License: MIT License
Laradock Base Image.
Home Page: http://laradock.io/
License: MIT License
Hi,
Can you add a new tag on Docker hub for workspace 3.0.0 (PHP 8 version)?
docker pull laradock/workspace:3.0.0-8.0
Thank'
workspace
cannot be run as linux/arm64
architecture on Apple M1.
But php-fpm
can be run as linux/arm64
architecture.
$ docker pull laradock/workspace:latest-7.2
$ docker pull laradock/php-fpm:latest-7.2
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
laradock/php-fpm latest-7.2 94e355067b69 2 days ago 410MB
laradock/workspace latest-7.2 5b0a8a579a35 2 days ago 803MB
$ docker run -it 5b0a8a579a35 uname -m # laradock/workspace:latest-7.2
x86_64
$ docker run -it 94e355067b69 uname -m # laradock/php-fpm:latest-7.2
aarch64
I think it is because laradock/workspace is using phusion/baseimage:0.11
as base image.
And it supports only linux/amd64
FROM phusion/baseimage:0.11
Its recent tags are supporting multi-arch including linux/arm64
now.
So the base image needs to be changed to the one which supports linux/arm64
For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2, crazy-max/ghaction-docker-meta@v2, docker/setup-qemu-action@v1, docker/setup-buildx-action@v1, docker/build-push-action@v2
Hi,
Any plan to build and push the latest image to Docker Hub?
The last image was pushed 5 months ago and there are few updates already in master.
What is the best way of updating laradock or this workspace to allow me to run php7.1-cli rather than php7.0-cli?
I have several artisan commands which make use of quite a bit of the new 7.1 functionality.
Please deploy 1.4 release on Docker Hub.
UPD: There is my automated build: https://hub.docker.com/r/cjmaxik/workspace/. This is just a plain fork and build of 1.4.
Hello Everyone!
I hope that you are doing Great.
I was wondering whether there will be new docker image created for the latest version of PHP 8.2?
Keen Regards
In docker hub need to build a new version of with tag 1.10-72 or 1.9-72 to be used in laradock laradock repository
Version 2.2 exists in docker hub but not in github
https://hub.docker.com/r/laradock/workspace/tags/
I'm trying to create a Raspberry Pi - compatible version of laradock
Dockerfile-73
has been added and php7.3
has also become GA, so please create a tag as laradock/workspace:2.2-7.3
on dockerhub
Command:
COMPOSE_FILE="docker-compose.local.yml:docker-compose.build.base.yml" docker-compose build --force-rm --no-cache workspace
Error
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Output
Building workspace
Step 1/106 : ARG PHP_VERSION=7.3
Step 2/106 : FROM phusion/baseimage:latest
---> 166cfc3f6974
Step 3/106 : LABEL maintainer="Mahmoud Zalt <[email protected]>"
---> Running in f1d417c1c692
Removing intermediate container f1d417c1c692
---> 13305f668fb5
Step 4/106 : LABEL maintainer="[email protected]"
---> Running in e4bc0a97ad02
Removing intermediate container e4bc0a97ad02
---> 8176b239279d
Step 5/106 : RUN DEBIAN_FRONTEND=noninteractive
---> Running in dad8e090ea41
Removing intermediate container dad8e090ea41
---> ecf4d35ee430
Step 6/106 : RUN locale-gen en_US.UTF-8
---> Running in de4df38f4071
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Removing intermediate container de4df38f4071
---> c2daa1a60db3
Step 7/106 : ENV LANGUAGE=en_US.UTF-8
---> Running in a363e3711cde
Removing intermediate container a363e3711cde
---> 4235ee2c1f71
Step 8/106 : ENV LC_ALL=en_US.UTF-8
---> Running in 7434e5274651
Removing intermediate container 7434e5274651
---> 5438834e26e2
Step 9/106 : ENV LC_CTYPE=en_US.UTF-8
---> Running in 8adcaed0a87f
Removing intermediate container 8adcaed0a87f
---> 54d3da3177fb
Step 10/106 : ENV LANG=en_US.UTF-8
---> Running in e76ff33cb8bf
Removing intermediate container e76ff33cb8bf
---> 15c764fe03f4
Step 11/106 : ENV TERM xterm
---> Running in 31c82bd7adcf
Removing intermediate container 31c82bd7adcf
---> 93b3ed3dc6db
Step 12/106 : RUN apt-get install -y software-properties-common && add-apt-repository -y ppa:ondrej/php
---> Running in c48738a7626e
Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version (0.96.20.7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gpg: keyring `/tmp/tmpa6f5vgd0/secring.gpg' created
gpg: keyring `/tmp/tmpa6f5vgd0/pubring.gpg' created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpa6f5vgd0/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Removing intermediate container c48738a7626e
---> 5201ba2b89fd
Step 13/106 : RUN apt-get update && apt-get upgrade -y && apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages php7.3-cli php7.3-common php7.3-curl php7.3-intl php7.3-json php7.3-xml php7.3-mbstring php7.3-mysql php7.3-pgsql php7.3-sqlite php7.3-sqlite3 php7.3-zip php7.3-bcmath php7.3-memcached php7.3-gd php7.3-dev pkg-config libcurl4-openssl-dev libedit-dev libssl-dev libxml2-dev xz-utils libsqlite3-dev sqlite3 git curl vim nano postgresql-client && apt-get clean
---> Running in f3b3c523284c
Get:1 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 Packages [70.0 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main Sources [1,103 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Sources [192 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,243 B]
Get:10 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [5,179 B]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [136 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/universe Sources [9,802 kB]
Get:13 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [3,516 B]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [942 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [12.7 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [582 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [6,114 B]
Get:18 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources [215 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1,558 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [14.1 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [9,827 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [176 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [429 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,696 B]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [328 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [9,424 B]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,322 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [13.1 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [986 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [19.1 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-backports/main Sources [5,073 B]
Get:32 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [7,665 B]
Get:33 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [7,942 B]
Get:34 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [8,807 B]
Fetched 28.4 MB in 30s (942 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
openssl
The following packages will be upgraded:
apt apt-transport-https apt-utils base-files bash bsdutils ca-certificates
curl debconf dh-python distro-info-data dpkg gcc-5-base gnupg gpgv
libapparmor1 libapt-inst2.0 libapt-pkg5.0 libaudit-common libaudit1
libblkid1 libbz2-1.0 libc-bin libc6 libcurl3-gnutls libdb5.3 libdbus-1-3
libexpat1 libfdisk1 libgcrypt20 libglib2.0-0 libgnutls30 libgssapi-krb5-2
libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 libldap-2.4-2 libmount1
libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre3
libprocps4 libpython3.5-minimal libpython3.5-stdlib libsasl2-2
libsasl2-modules-db libseccomp2 libsmartcols1 libsqlite3-0 libssl1.0.0
libstdc++6 libsystemd0 libudev1 libuuid1 locales login mount
multiarch-support openssh-client openssh-server openssh-sftp-server passwd
perl-base procps psmisc python-apt-common python3-apt
python3-software-properties python3.5 python3.5-minimal sensible-utils
software-properties-common systemd systemd-sysv util-linux vim-common
vim-tiny
80 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 33.2 MB of archives.
After this operation, 150 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libpcre3 amd64 2:8.43-1+ubuntu16.04.1+deb.sury.org+1 [235 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 base-files amd64 9.4ubuntu4.8 [69.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bash amd64 4.3-14ubuntu1.4 [583 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bsdutils amd64 1:2.27.1-6ubuntu3.8 [50.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg amd64 1.18.4ubuntu1.6 [2,085 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 login amd64 1:4.2-3.1ubuntu5.4 [304 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 util-linux amd64 2.27.1-6ubuntu3.8 [849 kB]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 mount amd64 2.27.1-6ubuntu3.8 [121 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 perl-base amd64 5.22.1-9ubuntu0.6 [1,283 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6 amd64 2.23-0ubuntu11 [2,577 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 debconf all 1.5.58ubuntu2 [136 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 locales all 2.23-0ubuntu11 [3,196 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-bin amd64 2.23-0ubuntu11 [631 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libbz2-1.0 amd64 1.0.6-8ubuntu0.2 [30.7 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5-base amd64 5.4.0-6ubuntu1~16.04.11 [17.3 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++6 amd64 5.4.0-6ubuntu1~16.04.11 [393 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapparmor1 amd64 2.10.95-0ubuntu2.11 [29.5 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libaudit-common all 1:2.4.5-1ubuntu2.1 [3,924 B]
Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libaudit1 amd64 1:2.4.5-1ubuntu2.1 [36.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpam0g amd64 1.1.8-3.2ubuntu2.1 [55.6 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpam-modules-bin amd64 1.1.8-3.2ubuntu2.1 [36.9 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpam-modules amd64 1.1.8-3.2ubuntu2.1 [244 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 passwd amd64 1:4.2-3.1ubuntu5.4 [780 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libuuid1 amd64 2.27.1-6ubuntu3.8 [14.4 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libblkid1 amd64 2.27.1-6ubuntu3.8 [107 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkmod2 amd64 22-1ubuntu5.2 [39.9 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmount1 amd64 2.27.1-6ubuntu3.8 [114 kB]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libseccomp2 amd64 2.4.1-0ubuntu0.16.04.2 [38.5 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsystemd0 amd64 229-4ubuntu21.22 [204 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd amd64 229-4ubuntu21.22 [3,652 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-pkg5.0 amd64 1.2.32 [713 kB]
Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.32 [55.8 kB]
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdb5.3 amd64 5.3.28-11ubuntu0.2 [670 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt amd64 1.2.32 [1,086 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.32 [196 kB]
Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gpgv amd64 1.4.20-1ubuntu3.3 [165 kB]
Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gnupg amd64 1.4.20-1ubuntu3.3 [626 kB]
Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 systemd-sysv amd64 229-4ubuntu21.22 [11.5 kB]
Get:39 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libssl1.0.0 amd64 1.0.2g-1ubuntu4.15 [1,084 kB]
Get:40 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5 amd64 3.5.2-2ubuntu0~16.04.8 [165 kB]
Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-stdlib amd64 3.5.2-2ubuntu0~16.04.8 [2,137 kB]
Get:42 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-minimal amd64 3.5.2-2ubuntu0~16.04.8 [1,598 kB]
Get:43 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-minimal amd64 3.5.2-2ubuntu0~16.04.8 [525 kB]
Get:44 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsqlite3-0 amd64 3.11.0-1ubuntu1.2 [397 kB]
Get:45 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1 amd64 2.1.0-7ubuntu0.16.04.4 [71.4 kB]
Get:46 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-0 amd64 2.48.2-0ubuntu4.4 [1,120 kB]
Get:47 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfdisk1 amd64 2.27.1-6ubuntu3.8 [139 kB]
Get:48 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcrypt20 amd64 1.6.5-2ubuntu0.5 [338 kB]
Get:49 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpam-runtime all 1.1.8-3.2ubuntu2.1 [37.9 kB]
Get:50 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsmartcols1 amd64 2.27.1-6ubuntu3.8 [62.0 kB]
Get:51 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libudev1 amd64 229-4ubuntu21.22 [53.9 kB]
Get:52 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 multiarch-support amd64 2.23-0ubuntu11 [6,822 B]
Get:53 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 sensible-utils all 0.0.9ubuntu0.16.04.1 [10.0 kB]
Get:54 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libprocps4 amd64 2:3.3.10-4ubuntu2.4 [33.1 kB]
Get:55 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 procps amd64 2:3.3.10-4ubuntu2.4 [222 kB]
Get:56 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dh-python all 2.20151103ubuntu1.2 [73.9 kB]
Get:57 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 distro-info-data all 0.28ubuntu0.12 [4,638 B]
Get:58 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgnutls30 amd64 3.4.10-4ubuntu1.5 [548 kB]
Get:59 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim-tiny amd64 2:7.4.1689-3ubuntu1.3 [446 kB]
Get:60 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 vim-common amd64 2:7.4.1689-3ubuntu1.3 [103 kB]
Get:61 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 curl amd64 7.47.0-1ubuntu2.14 [139 kB]
Get:62 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgssapi-krb5-2 amd64 1.13.2+dfsg-5ubuntu2.1 [120 kB]
Get:63 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkrb5-3 amd64 1.13.2+dfsg-5ubuntu2.1 [273 kB]
Get:64 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libkrb5support0 amd64 1.13.2+dfsg-5ubuntu2.1 [31.2 kB]
Get:65 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libk5crypto3 amd64 1.13.2+dfsg-5ubuntu2.1 [81.3 kB]
Get:66 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsasl2-modules-db amd64 2.1.26.dfsg1-14ubuntu0.1 [14.5 kB]
Get:67 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libsasl2-2 amd64 2.1.26.dfsg1-14ubuntu0.1 [48.6 kB]
Get:68 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libldap-2.4-2 amd64 2.4.42+dfsg-2ubuntu3.7 [160 kB]
Get:69 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcurl3-gnutls amd64 7.47.0-1ubuntu2.14 [184 kB]
Get:70 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.32 [26.5 kB]
Get:71 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.2 [167 kB]
Get:72 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdbus-1-3 amd64 1.10.6-1ubuntu3.4 [161 kB]
Get:73 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-sftp-server amd64 1:7.2p2-4ubuntu2.8 [38.9 kB]
Get:74 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-server amd64 1:7.2p2-4ubuntu2.8 [335 kB]
Get:75 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-client amd64 1:7.2p2-4ubuntu2.8 [590 kB]
Get:76 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 psmisc amd64 22.21-2.1ubuntu0.1 [48.1 kB]
Get:77 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-apt-common all 1.1.0~beta1ubuntu0.16.04.5 [16.2 kB]
Get:78 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-apt amd64 1.1.0~beta1ubuntu0.16.04.5 [138 kB]
Get:79 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.9 [9,452 B]
Get:80 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.9 [20.1 kB]
dpkg-preconfigure: unable to re-open stdin:
Fetched 33.2 MB in 53s (619 kB/s)
(Reading database ... 8750 files and directories currently installed.)
Preparing to unpack .../base-files_9.4ubuntu4.8_amd64.deb ...
Unpacking base-files (9.4ubuntu4.8) over (9.4ubuntu4.5) ...
Setting up base-files (9.4ubuntu4.8) ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...
(Reading database ... 8750 files and directories currently installed.)
Preparing to unpack .../bash_4.3-14ubuntu1.4_amd64.deb ...
Unpacking bash (4.3-14ubuntu1.4) over (4.3-14ubuntu1.2) ...
Setting up bash (4.3-14ubuntu1.4) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
(Reading database ... 8750 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.27.1-6ubuntu3.8_amd64.deb ...
Unpacking bsdutils (1:2.27.1-6ubuntu3.8) over (1:2.27.1-6ubuntu3.3) ...
Setting up bsdutils (1:2.27.1-6ubuntu3.8) ...
(Reading database ... 8750 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.4ubuntu1.6_amd64.deb ...
Unpacking dpkg (1.18.4ubuntu1.6) over (1.18.4ubuntu1.3) ...
Setting up dpkg (1.18.4ubuntu1.6) ...
(Reading database ... 8750 files and directories currently installed.)
Preparing to unpack .../login_1%3a4.2-3.1ubuntu5.4_amd64.deb ...
Unpacking login (1:4.2-3.1ubuntu5.4) over (1:4.2-3.1ubuntu5.3) ...
Setting up login (1:4.2-3.1ubuntu5.4) ...
(Reading database ... 8750 files and directories currently installed.)
Preparing to unpack .../util-linux_2.27.1-6ubuntu3.8_amd64.deb ...
Unpacking util-linux (2.27.1-6ubuntu3.8) over (2.27.1-6ubuntu3.3) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up util-linux (2.27.1-6ubuntu3.8) ...
Configuration file '/etc/cron.weekly/fstrim'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** fstrim (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package util-linux (--configure):
end of file on stdin at conffile prompt
Errors were encountered while processing:
util-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Removing intermediate container f3b3c523284c
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages php7.3-cli php7.3-common php7.3-curl php7.3-intl php7.3-json php7.3-xml php7.3-mbstring php7.3-mysql php7.3-pgsql php7.3-sqlite php7.3-sqlite3 php7.3-zip php7.3-bcmath php7.3-memcached php7.3-gd php7.3-dev pkg-config libcurl4-openssl-dev libedit-dev libssl-dev libxml2-dev xz-utils libsqlite3-dev sqlite3 git curl vim nano postgresql-client && apt-get clean' returned a non-zero code: 100
Base image details
[
{
"Id": "sha256:166cfc3f6974fffa02b34f7a82739d1680fda89353996e13a845a83f4f8cd9f7",
"RepoTags": [
"phusion/baseimage:latest"
],
"RepoDigests": [
"phusion/baseimage@sha256:29479c37fcb28089eddd6619deed43bcdbcccf2185369e0199cc51a5ec78991b"
],
"Parent": "",
"Comment": "",
"Created": "2018-01-26T09:31:02.58538605Z",
"Container": "38451abb94e53f2181f0f40a17748b1c8ac201dde3dd425bed4091bae6618213",
"ContainerConfig": {
"Hostname": "27ae0e316043",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"DEBIAN_FRONTEND=teletype",
"LANG=en_US.UTF-8",
"LANGUAGE=en_US:en",
"LC_ALL=en_US.UTF-8"
],
"Cmd": [
"/bin/sh",
"-c",
"#(nop) CMD [\"/sbin/my_init\"]"
],
"Image": "b57f4bbc502ac79d011d43017e9508e978f4ba066944828a8f4dc56d9256e4e3",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": [],
"Labels": {}
},
"DockerVersion": "1.9.1",
"Author": "Phusion <[email protected]>",
"Config": {
"Hostname": "27ae0e316043",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"DEBIAN_FRONTEND=teletype",
"LANG=en_US.UTF-8",
"LANGUAGE=en_US:en",
"LC_ALL=en_US.UTF-8"
],
"Cmd": [
"/sbin/my_init"
],
"Image": "b57f4bbc502ac79d011d43017e9508e978f4ba066944828a8f4dc56d9256e4e3",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": [],
"Labels": {}
},
"Architecture": "amd64",
"Os": "linux",
"Size": 209071753,
"VirtualSize": 209071753,
"GraphDriver": {
"Data": null,
"Name": "aufs"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:ff986b10a018b48074e6d3a68b39aad8ccc002cdad912d4148c0f92b3729323e",
"sha256:9c7183e0ea88b265d83708dfe5b9189c4e12f9a1d8c3e5bce7f286417653f9b7",
"sha256:c98ef191df4b42c3fd5155d23385e75ee59707c6a448dfc6c8e4e9c005a3df11",
"sha256:92914665e7f61f8f19b56bf7983a2b3758cb617bef498b37adb80899e8b86e32",
"sha256:6f4ce6b888495c7c9bd4a0ac124b039d986a3b18250fa873d11d13b42f6a79f4",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:97017ee135c9e4add75043df47180248e8311c56daa84d6ca0f29c5d495d3e3b",
"sha256:cee29f16e214c5a8f4624947e61e7dbe0837214ef0398eefc474af27c3139fa6",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
]
},
"Metadata": {
"LastTagTime": "0001-01-01T00:00:00Z"
}
}
]
Docker version 19.03.2, build 6a30dfc
docker-compose version 1.21.2, build a133471
now we don't have mysql command...
Hi, we have a requirements to use MS Sql as the database and recent updates in laradock includes mssql server but when we do php artisan migrate, it says pdo driver not found, most probably no ms sql driver is installed in the workspace container, so I installed the driver follwing this guide, https://github.com/Microsoft/msphpsql, and I was able to do php artisan migrate. I would wanted to make the installation inside the dockerfile but when I do docker-compose build workspace i got this error(workspace dockerfile is from dockerfile-71).
Building workspace Step 1/75 : FROM laradock/workspace:1.3 # placeholder. Need change after new image would be built. ERROR: Service 'workspace' failed to build: Error parsing reference: "laradock/workspace:1.3 # placeholder. Need change after new image would be built." is not a valid repository/tag: invalid reference format
,
Thanks.
The version for php 8.0 has 8.1 - which breaks many many things.
docker run -it --rm laradock/workspace:latest-8.0 bash
root@765eba62c5dc:/# php -v
PHP 8.1.2 (cli) (built: Jan 24 2022 10:42:33) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
root@765eba62c5dc:/# exit
use php7.0 and exec command: docker-compose up -d nginx
report a error:
+ apt-get update -yqq
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security Release' does not have a Release file.
W: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu xenial Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial-updates Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu xenial-backports Release' does not have a Release file.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/source/Sources SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.88.31 80]
E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/main/binary-amd64/Packages SECURITY: URL redirect target contains control characters, rejecting.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/restricted/source/Sources SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.23 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/main/source/Sources SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.23 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/main/source/Sources SECURITY: URL redirect target contains control characters, rejecting. [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: 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
docker-compose build workspace
cause:
Step 19/228 : USER laradock
---> Using cache
---> 85f01ff29562
Step 20/228 : RUN echo "" >> ~/.bashrc && echo "# Load Custom Aliases" >> ~/.bashrc && echo "source ~/aliases.sh" >> ~/.bashrc && echo "" >> ~/.bashrc
---> Running in f3c31d2b1fd6
/bin/sh: 1: cannot create /home/laradock/.bashrc: Permission denied
ERROR: Service 'workspace' failed to build: The command '/bin/sh -c echo "" >> ~/.bashrc && echo "# Load Custom Aliases" >> ~/.bashrc && echo "source ~/aliases.sh" >> ~/.bashrc && echo "" >> ~/.bashrc' returned a non-zero code: 2
my docker run with namespace mode related?
Can you add a tag for php 5.6 version? so that we can easily switch on the version on laradock for the workspace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.