Following error occurred during building acmeair/pwgen.
Step 0 : FROM ubuntu:14.04
---> ba5877dc9bec
Step 1 : RUN DEBIAN_FRONTEND=noninteractive apt-get -y install pwgen
---> Running in a0715d40a6fb
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package pwgen
2014/08/01 16:03:16 The command [/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get -y install pwgen] returned a non-zero code: 100
workaround. pwgen/Dockerfile
FROM ubuntu:14.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install pwgen &&\
apt-get clean &&\
rm -Rf /var/cache/*
ENTRYPOINT ["pwgen"]
There are various ways of generating password string. I chose pwgen because it can use capitals and symbols. I did not add --symbols option since it might break the scripts. openssl rand is not bad. But it should be additionally installed to do this.
Following error occurred during building acmeair/pwgen.
workaround.
pwgen/Dockerfile
There are various ways of generating password string. I chose
pwgen
because it can use capitals and symbols. I did not add--symbols
option since it might break the scripts.openssl rand
is not bad. But it should be additionally installed to do this.