You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
Docker build failing while trying to create /opt folder:
===== docker-build ======
envsubst < Dockerfile | docker build --pull -t omnition/synthetic-load-generator:latest -f - .
Sending build context to Docker daemon 4.859MB
Step 1/8 : FROM openjdk:8-jre-alpine
8-jre-alpine: Pulling from library/openjdk
Digest: sha256:f362b165b870ef129cbe730f29065ff37399c0aa8bcab3e44b51c302938c9193
Status: Image is up to date for openjdk:8-jre-alpine
---> f7a292bbb70c
Step 2/8 : RUN mkdir /opt /opt/omnition /opt/omnition/topologies
---> Running in 4011e6c1627b
mkdir: can't create directory '/opt': File exists
The command '/bin/sh -c mkdir /opt /opt/omnition /opt/omnition/topologies' returned a non-zero code: 1
make: *** [docker-build] Error 1
XXXXXX
A detail that can be the reason is that I already had the docker image downloaded. I will post a change suggestion in Dockerfile to solve the problem.
The text was updated successfully, but these errors were encountered:
eduardoroliveira
added a commit
to eduardoroliveira/synthetic-load-generator
that referenced
this issue
Jan 25, 2021
Docker build failing while trying to create /opt folder:
===== docker-build ======
envsubst < Dockerfile | docker build --pull -t omnition/synthetic-load-generator:latest -f - .
Sending build context to Docker daemon 4.859MB
Step 1/8 : FROM openjdk:8-jre-alpine
8-jre-alpine: Pulling from library/openjdk
Digest: sha256:f362b165b870ef129cbe730f29065ff37399c0aa8bcab3e44b51c302938c9193
Status: Image is up to date for openjdk:8-jre-alpine
---> f7a292bbb70c
Step 2/8 : RUN mkdir /opt /opt/omnition /opt/omnition/topologies
---> Running in 4011e6c1627b
mkdir: can't create directory '/opt': File exists
The command '/bin/sh -c mkdir /opt /opt/omnition /opt/omnition/topologies' returned a non-zero code: 1
make: *** [docker-build] Error 1
XXXXXX
A detail that can be the reason is that I already had the docker image downloaded. I will post a change suggestion in Dockerfile to solve the problem.
The text was updated successfully, but these errors were encountered: