TetraWeb / docker

Set of docker PHP images for continuous integration
58 stars 24 forks source link

Every update i make in the yml file fails. #65

Open kabengwa opened 5 years ago

kabengwa commented 5 years ago

I have created a CICD and added a yml file `deploy_dev: stage: deploy_to_my_dev image: tetraweb/php:7.1 before_script:

`

Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages

Err http://deb.debian.org jessie-updates/main amd64 Packages 404 Not Found [IP: 151.101.112.204 80] Get:9 http://deb.debian.org jessie/main amd64 Packages [9098 kB] Get:10 http://security.debian.org jessie/updates/main amd64 Packages [825 kB] Fetched 10.1 MB in 23s (437 kB/s) W: GPG error: https://dl.yarnpkg.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.112.204 80]

E: Some index files failed to download. They have been ignored, or old ones used instead. `

edenoscherer commented 5 years ago

the solution I found was this https://stackoverflow.com/questions/55386246/w-failed-to-fetch-http-deb-debian-org-debian-dists-jessie-updates-main-binary#answer-55411551

christianschoenmakers commented 5 years ago

Can confirm this issue, the image needs to be updated. Or can I manually run the commands to this existing image @edenoscherer ?

kabengwa commented 5 years ago

I decided to use the official php image and just add everything I needed to run my gitlab deployment int the install script. I actually find it much better and very customizable .. maybe until they correct the bugs

edenoscherer commented 5 years ago

Sorry for the delay in answering in my .gitlab-ci.yml file I have the following commands

  - echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
  - sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
  - apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y -qq zip unzip wget
christianschoenmakers commented 5 years ago

Thx, that did the trick!