I am new to docker. Sorry If my question is dumb.
I have created a docker file and I was trying to create an image from that docker file but while running that docker file it downloads some dependency packages. where is that downloaded package present? I want to run a script from that package.
# Dockerfile References: https://docs.docker.com/engine/reference/builder/
# Start from golang v1.11 base image
FROM golang:1.11
# Add Maintainer Info
LABEL maintainer="akhil<akhilravuri1@gmail.com>"
# Set the Current Working Directory inside the container
WORKDIR $GOPATH/src/github.com/docker/go-docker1
# Copy everything from the current directory to the PWD(Present Working Directory) inside the container
COPY . .
# Download all the dependencies
# https://stackoverflow.com/questions/28031603/what-do-three-dots-mean-in-go-command-line-invocations
RUN go get -d -v ./...
# Install the package
RUN go install -v ./...
# Run the executable
CMD ["go-docker1"]
This go get will download the package and go install will install the package but before installing I want to run a script from the downloaded package.
Thanks,
Akhil.