skip to Main Content

Custom Docker image on Git Lab Job cannot connect to localhost

I've created a very simple custom Docker image: FROM postgis/postgis:16-3.4-alpine ENV POSTGRES_USER=postgres ENV POSTGRES_PASSWORD=secret ENV POSTGRES_DB=lopost_test_db ENV PGDATA=/data/postgres ENV POSTGRES_HOST_AUTH_METHOD=trust Now I'm trying to run the following gitlab job test: image: $CI_REGISTRY_IMAGE/ci_test stage: test environment: name: Production script: - psql…

VIEW QUESTION

Docker commands failed in private runners

I set up the runner on Mac through the tutorial and assign the job to it to run. Below is my configuration in .gitlab-ci.yml based on this answer. OPTION 1 image: docker:latest services: - docker:18.09.7-dind OPTION 2 image: name: docker:latest…

VIEW QUESTION

Debian – readlink: unrecognized option: m

I have the following Dockerfile. FROM debian:10.7 ARG DEBIAN_FRONTEND=noninteractive RUN echo "Acquire::http::Proxy "${HTTP_PROXY}";" >> /etc/apt/apt.conf.d/50proxy && echo "Acquire::https::Proxy "${HTTPS_PROXY}";" >> /etc/apt/apt.conf.d/50proxy # Install coreutils, dialog, apt-utils since busybox seems to lack them RUN apt-get update && apt-get install -y coreutils…

VIEW QUESTION
Back To Top
Search