skip to Main Content

The image docker built through jenkins didn't have name and tag

Here is my Dockerfile: FROM golang:1.17.5 as builder WORKDIR /go/src/github.com/cnosdb/cnosdb COPY . /go/src/github.com/cnosdb/cnosdb RUN go env -w GOPROXY=https://goproxy.cn,direct RUN go env -w GO111MODULE=on RUN go install ./... FROM debian:stretch COPY --from=builder /go/bin/cnosdb /go/bin/cnosdb-cli /usr/bin/ COPY --from=builder /go/src/github.com/cnosdb/cnosdb/etc/cnosdb.sample.toml /etc/cnosdb/cnosdb.conf EXPOSE 8086…

VIEW QUESTION

Unable to install jenkins on ubuntu – Debian

When i write [sudo apt-get update] First error : https://pkg.jenkins.io/debian-stable binary/ Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none Second error : W: The repository 'http://pkg.jenkins.io/debian-stable binary/ Release' does not have a Release file. N: Data from such a…

VIEW QUESTION

Can't run the docker compose file

Can somebody, please, help me to understand what's wrong with my docker-compose.yml file? version: '3' services: jenkins: container_name: jenkins image: jenkins/jenkins ports: - "8080:8080" volumes: - "$PWD/jenkins_home:/var/jenkins_home" networks: - net networks: net: I get an error: ERROR: yaml.parser.ParserError: while parsing…

VIEW QUESTION
Back To Top
Search