SHARE
TWEET

Untitled

a guest Oct 3rd, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FROM mysql/mysql-server
  2. ENV MYSQL_ROOT_PASSWORD=root
  3. ENV MYSQL_USER=wamper_stamper
  4. ENV MYSQL_PASSWORD=QbGaCumx27
  5. ENV MYSQL_DATABASE=stamp_db
  6. RUN mkdir /tmp/stuff
  7. ADD db.sql /docker-entrypoint-initdb.d/db.sql
  8. CMD service mysqld start && mysql -u ${MYSQL_USER} -p${MYSQL_PASSWORD} -e "SHOW DATABASES"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top