{"id":2641,"date":"2023-05-23T09:35:55","date_gmt":"2023-05-23T01:35:55","guid":{"rendered":"https:\/\/199604.com\/?p=2641"},"modified":"2023-05-23T09:35:55","modified_gmt":"2023-05-23T01:35:55","slug":"%e4%bd%bf%e7%94%a8dfimage%e5%b7%a5%e5%85%b7%e4%bb%8edocker%e9%95%9c%e5%83%8f%e6%8f%90%e5%8f%96dockerfile","status":"publish","type":"post","link":"https:\/\/199604.com\/2641","title":{"rendered":"\u4f7f\u7528dfimage\u5de5\u5177\u4eceDocker\u955c\u50cf\u63d0\u53d6Dockerfile"},"content":{"rendered":"<h1>\u4f7f\u7528dfimage\u5de5\u5177\u4eceDocker\u955c\u50cf\u63d0\u53d6Dockerfile<\/h1>\n<p>\u6709\u65f6\u5019\u56e0\u4e3a\u81ea\u5df1\u6784\u5efa\u955c\u50cf\u7684 Dockerfile \u6587\u4ef6\u4e22\u5931\uff0c\u6216\u8005\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u7684 Docker \u955c\u50cf\uff0c\u60f3\u4e86\u89e3\u5176\u955c\u50cf\u6784\u5efa\u7684\u6b65\u9aa4\uff0c\u8fd9\u65f6\u5019\u600e\u4e48\u529e\u4e86\uff1f\u53ef\u901a\u8fc7\u4ee5\u4e0b\u4e24\u79cd\u65b9\u6cd5\u83b7\u53d6\u3002<\/p>\n<h2><em>\u65b9\u6cd5\u4e00<\/em><\/h2>\n<p>\u4f7f\u7528<code>docker history<\/code>\u547d\u4ee4<\/p>\n<pre><code class=\"language-shell \">[root@localhost ~]# docker history ibmcom\/mq:latest\nIMAGE          CREATED         CREATED BY                                       SIZE      COMMENT\n5211ea6323b7   18 months ago   \/bin\/sh -c #(nop)  LABEL version=9.2.4.0         0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL vcs-url=git@github.\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL vcs-type=git            0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL vcs-ref=1f6d37afedb\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL run=docker run -d -\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL release=r1              0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL name=ibm-mqadvanced\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL build-date=2021-11-\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL architecture=amd64      0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENTRYPOINT [\"runmqdevserv\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  USER 1001                     0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQS_PERMIT_UNKNOWN_ID\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQ_CONNAUTH_USE_HTP=t\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV LD_LIBRARY_PATH=\/opt\/\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQ_ENABLE_EMBEDDED_WE\u2026   0B\n&lt;missing&gt;      18 months ago   |3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   17.6MB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY dir:314872ec79916fd02\u2026   1.83kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY multi:dddbd8622bcb090\u2026   7.05kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:01dd6f8df223f9ef\u2026   4.33MB\n&lt;missing&gt;      18 months ago   |3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   0B\n&lt;missing&gt;      18 months ago   |3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   10.8MB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:749c034e86ef1090\u2026   1.26kB\n&lt;missing&gt;      18 months ago   |3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   131B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:f6cedf077e8dfc3e\u2026   131B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:14e173f3dfb278eb\u2026   268B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:d16dbd18619fbb2f\u2026   22.7kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  USER 0                        0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL base-image-release=\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL base-image=registry\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL io.k8s.description=\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL io.k8s.display-name\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL io.openshift.tags=m\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL url=https:\/\/www.ibm\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL authoritative-sourc\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL distribution-scope=\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL vendor=IBM              0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL description=Simplif\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL summary=IBM MQ Adva\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQ_DEV=true               0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG GO_WORKDIR                0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG BASE_TAG                  0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG BASE_IMAGE                0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENTRYPOINT [\"runmqserver\"]    0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQ_CONNAUTH_USE_HTP=f\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  USER 1001                     0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV LANG=en_US.UTF-8 AMQ_\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQ_GRACE_PERIOD=30        0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ENV MQ_OVERRIDE_DATA_PATH\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  EXPOSE 1414 9157 9443         0B\n&lt;missing&gt;      18 months ago   |4 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   21.5MB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:4d5d9772edf00f4b\u2026   745B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY dir:b7af534eda9621b0d\u2026   3.96kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:fb55849aee5e85c2\u2026   591B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:edebb47000f2e6c3\u2026   810kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY multi:e47f2c08f045440\u2026   8.31MB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:084bc89afdba5aa4\u2026   13.2MB\n&lt;missing&gt;      18 months ago   |4 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   0B\n&lt;missing&gt;      18 months ago   |4 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-mi\u2026   749MB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:163d9dc38f595e70\u2026   3.04kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop) COPY file:74de0b85048a852b\u2026   3.75kB\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL base-image-release=\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL base-image=registry\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL io.k8s.description=\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL io.k8s.display-name\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL io.openshift.tags=m\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL url=https:\/\/www.ibm\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL authoritative-sourc\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL distribution-scope=\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL maintainer=IBM          0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL vendor=IBM              0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL description=Simplif\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  LABEL summary=IBM MQ Adva\u2026   0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG GO_WORKDIR                0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG BASE_TAG                  0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG BASE_IMAGE                0B\n&lt;missing&gt;      18 months ago   \/bin\/sh -c #(nop)  ARG MQ_URL                    0B\n&lt;missing&gt;      18 months ago                                                    4.65kB\n&lt;missing&gt;      18 months ago                                                    103MB     Imported from -\n\n<\/code><\/pre>\n<h2><em>\u65b9\u6cd5\u4e8c<\/em><\/h2>\n<p>\u4f7f\u7528<code>alpine\/dfimage<\/code>\u955c\u50cf\u5de5\u5177\uff0c\u67e5\u770b\u76f8\u5173\u955c\u50cf\u7684\u6784\u5efa\u547d\u4ee4<\/p>\n<p>\u5b83\u5c06\u81ea\u52a8\u63d0\u53d6\u76ee\u6807docker\u955c\u50cf\u3002\u53c2\u6570<code>-sV=1.36<\/code>\u5e76\u4e0d\u603b\u662f\u5fc5\u9700\u7684,\u53ea\u662f\u6307\u5b9a\u955c\u50cf\u6807\u7b7e \u3002<\/p>\n<p>\u5982\uff1a<code>dfimage -sV=1.36 ibmcom\/mq:latest<\/code><\/p>\n<pre><code class=\"language-shell \">[root@localhost ~]# alias dfimage=\"docker run -v \/var\/run\/docker.sock:\/var\/run\/docker.sock --rm alpine\/dfimage\"\n\n[root@localhost ~]# dfimage -sV=1.36 ibmcom\/mq:latest\nAnalyzing ibmcom\/mq:latest\nDocker Version: 20.10.10\nGraphDriver: overlay2\nEnvironment Variables\n|PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/opt\/mqm\/bin\n|container=oci\n|MQ_OVERRIDE_DATA_PATH=\/mnt\/mqm\/data\n|MQ_OVERRIDE_INSTALLATION_NAME=Installation1\n|MQ_USER_NAME=mqm\n|MQ_GRACE_PERIOD=30\n|LANG=en_US.UTF-8\n|AMQ_DIAGNOSTIC_MSG_SEVERITY=1\n|AMQ_ADDITIONAL_JSON_LOG=1\n|LOG_FORMAT=basic\n|MQ_CONNAUTH_USE_HTP=true\n|MQ_DEV=true\n|MQ_ENABLE_EMBEDDED_WEB_SERVER=1\n|MQ_GENERATE_CERTIFICATE_HOSTNAME=localhost\n|LD_LIBRARY_PATH=\/opt\/mqm\/lib64\n|MQS_PERMIT_UNKNOWN_ID=true\n\nOpen Ports\n|9443\n|1414\n|9157\n\nImage user\n|Image is running as User: 1001\n\nPotential secrets:\n|Found match var\/lib\/dnf\/history.sqlite Database file \\.sqlite$ 29fde381a81ec8ee755961efca71a8ad75dc0a28802980c1da506fbf3626b241\/layer.tar\n|Found match var\/lib\/dnf\/history.sqlite Database file \\.sqlite$ d15f741566323f8b5861b59fab6e8f0cd4d224dc1b0e3a04e6dced2c262a906b\/layer.tar\nDockerfile:\n\nARG MQ_URL\nARG BASE_IMAGE\nARG BASE_TAG\nARG GO_WORKDIR\nLABEL summary=IBM MQ Advanced Server\nLABEL description=Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution \u2014 trusted by the world\u2019s most successful enterprises\nLABEL vendor=IBM\nLABEL maintainer=IBM\nLABEL distribution-scope=private\nLABEL authoritative-source-url=https:\/\/www.ibm.com\/software\/passportadvantage\/\nLABEL url=https:\/\/www.ibm.com\/products\/mq\/advanced\nLABEL io.openshift.tags=mq messaging\nLABEL io.k8s.display-name=IBM MQ Advanced Server\nLABEL io.k8s.description=Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution \u2014 trusted by the world\u2019s most successful enterprises\nLABEL base-image=registry.redhat.io\/ubi8\/ubi-minimal\nLABEL base-image-release=8.5-204\nCOPY file:74de0b85048a852b4049a063d696f147cbb20ff373e4d947d0d7b365b87977ee in \/usr\/local\/bin\/\n        usr\/\n        usr\/local\/\n        usr\/local\/bin\/\n        usr\/local\/bin\/install-mq.sh\n\nCOPY file:163d9dc38f595e70f8d9e5b9b12a76c51133311eab90edb48fc9c9dd840b641a in \/usr\/local\/bin\/\n        usr\/\n        usr\/local\/\n        usr\/local\/bin\/\n        usr\/local\/bin\/install-mq-server-prereqs.sh\n\n|4 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container MQ_URL=http:\/\/build:8080\/9.2.4.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz RUN env  \\\n        &amp;&amp; mkdir \/opt\/mqm  \\\n        &amp;&amp; chmod u+x \/usr\/local\/bin\/install-*.sh  \\\n        &amp;&amp; sleep 1  \\\n        &amp;&amp; install-mq-server-prereqs.sh  \\\n        &amp;&amp; install-mq.sh  \\\n        &amp;&amp; \/opt\/mqm\/bin\/security\/amqpamcf  \\\n        &amp;&amp; chown -R 1001:root \/opt\/mqm\/*\n|4 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container MQ_URL=http:\/\/build:8080\/9.2.4.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz RUN mkdir -p \/run\/runmqserver  \\\n        &amp;&amp; chown 1001:root \/run\/runmqserver\nCOPY file:084bc89afdba5aa4b789f85238b3ddd9e93b5e28a60990111280b0499dae3cae in \/usr\/local\/bin\/\n        usr\/\n        usr\/local\/\n        usr\/local\/bin\/\n        usr\/local\/bin\/runmqserver\n\nCOPY multi:e47f2c08f045440ee7b3f1a5b24b43a4f4164918ba0042900a34db138b0b41f3 in \/usr\/local\/bin\/\n        usr\/\n        usr\/local\/\n        usr\/local\/bin\/\n        usr\/local\/bin\/chkmqhealthy\n        usr\/local\/bin\/chkmqready\n        usr\/local\/bin\/chkmqstarted\n\nCOPY file:edebb47000f2e6c387d802053240b28ba8b263a96c852897f3567207bd0e5348 in \/opt\/mqm\/licenses\/notices-container.txt\n        opt\/\n        opt\/mqm\/\n        opt\/mqm\/licenses\/\n        opt\/mqm\/licenses\/notices-container.txt\n\nCOPY file:fb55849aee5e85c2062d1d31628d48d652346709347886a51c2127bd36cb6ff1 in \/etc\/mqm\/native-ha.ini.tpl\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/native-ha.ini.tpl\n\nCOPY dir:b7af534eda9621b0de9e6052d2838260df23346b2d072b09d7fe687f4adb7c96 in \/etc\/mqm\/web\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/web\/\n        etc\/mqm\/web\/.wh..wh..opq\n        etc\/mqm\/web\/installations\/\n        etc\/mqm\/web\/installations\/Installation1\/\n        etc\/mqm\/web\/installations\/Installation1\/servers\/\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/mqwebuser.xml\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/mqwebuser.xml.tpl\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/tls.xml\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/tls.xml.tpl\n\nCOPY file:4d5d9772edf00f4b508058ee08956d8f4e996f73fcc0c009aa001fd0810e627e in \/etc\/mqm\/\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/15-tls.mqsc.tpl\n\n|4 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container MQ_URL=http:\/\/build:8080\/9.2.4.0-IBM-MQ-Advanced-for-Developers-Non-Install-LinuxX64.tar.gz RUN chmod ug+x \/usr\/local\/bin\/runmqserver  \\\n        &amp;&amp; chown 1001:root \/usr\/local\/bin\/*mq*  \\\n        &amp;&amp; chmod ug+x \/usr\/local\/bin\/chkmq*  \\\n        &amp;&amp; chown -R 1001:root \/etc\/mqm\/*  \\\n        &amp;&amp; install --directory --mode 2775 --owner 1001 --group root \/run\/runmqserver  \\\n        &amp;&amp; touch \/run\/termination-log  \\\n        &amp;&amp; chown 1001:root \/run\/termination-log  \\\n        &amp;&amp; chmod 0660 \/run\/termination-log  \\\n        &amp;&amp; chmod -R g+w \/etc\/mqm\/web\nEXPOSE 1414 9157 9443\nENV MQ_OVERRIDE_DATA_PATH=\/mnt\/mqm\/data MQ_OVERRIDE_INSTALLATION_NAME=Installation1 MQ_USER_NAME=mqm PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/opt\/mqm\/bin\nENV MQ_GRACE_PERIOD=30\nENV LANG=en_US.UTF-8 AMQ_DIAGNOSTIC_MSG_SEVERITY=1 AMQ_ADDITIONAL_JSON_LOG=1 LOG_FORMAT=basic\n\nUSER 1001\nENV MQ_CONNAUTH_USE_HTP=false\nENTRYPOINT [\"runmqserver\"]\nARG BASE_IMAGE\nARG BASE_TAG\nARG GO_WORKDIR\nENV MQ_DEV=true\nLABEL summary=IBM MQ Advanced for Developers Server\nLABEL description=Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution \u2014 trusted by the world\u2019s most successful enterprises\nLABEL vendor=IBM\nLABEL distribution-scope=private\nLABEL authoritative-source-url=https:\/\/www.ibm.com\/software\/passportadvantage\/\nLABEL url=https:\/\/www.ibm.com\/products\/mq\/advanced\nLABEL io.openshift.tags=mq messaging\nLABEL io.k8s.display-name=IBM MQ Advanced for Developers Server\nLABEL io.k8s.description=Simplify, accelerate and facilitate the reliable exchange of data with a security-rich messaging solution \u2014 trusted by the world\u2019s most successful enterprises\nLABEL base-image=registry.redhat.io\/ubi8\/ubi-minimal\nLABEL base-image-release=8.5-204\nUSER 0\nCOPY file:d16dbd18619fbb2fda4454b3a94ae0bd32d88300e68130b826731921576d808c in \/opt\/mqm\/lib64\/\n        opt\/\n        opt\/mqm\/\n        opt\/mqm\/lib64\/\n        opt\/mqm\/lib64\/mqhtpass.so\n\nCOPY file:14e173f3dfb278eb332a89d98493294d824250a738da1fd0a17a2f209728c0d2 in \/etc\/mqm\/\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/qm-service-component.ini\n\nCOPY file:f6cedf077e8dfc3e33aa7d8c0d1aecdd032041c158f93e902e2c5fee589df87b in \/etc\/mqm\/\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/mq.htpasswd\n\n|3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container RUN chmod 0660 \/etc\/mqm\/mq.htpasswd\nCOPY file:749c034e86ef1090396f610d89cf8a357a4f6fe22096514854dce65f402e415e in \/usr\/local\/bin\/\n        usr\/\n        usr\/local\/\n        usr\/local\/bin\/\n        usr\/local\/bin\/install-extra-packages.sh\n\n|3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container RUN chmod u+x \/usr\/local\/bin\/install-extra-packages.sh  \\\n        &amp;&amp; sleep 1  \\\n        &amp;&amp; install-extra-packages.sh\n|3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container RUN mkdir -p \/run\/runmqdevserver  \\\n        &amp;&amp; chown 1001:root \/run\/runmqdevserver\nCOPY file:01dd6f8df223f9efd765efa60edec77dea3ad97293128d5d76dedadf419f143a in \/usr\/local\/bin\/\n        usr\/\n        usr\/local\/\n        usr\/local\/bin\/\n        usr\/local\/bin\/runmqdevserver\n\nCOPY multi:dddbd8622bcb09004052dc47ba5e49f10f6cf2eaf183e7d2bce26797406f9872 in \/etc\/mqm\/\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/10-dev.mqsc.tpl\n        etc\/mqm\/20-dev-tls.mqsc.tpl\n        etc\/mqm\/admin.json.tpl\n\nCOPY dir:314872ec79916fd02399a577dc0a459320cae06046396e93b0377e20de3c341f in \/etc\/mqm\/web\n        etc\/\n        etc\/mqm\/\n        etc\/mqm\/web\/\n        etc\/mqm\/web\/installations\/\n        etc\/mqm\/web\/installations\/Installation1\/\n        etc\/mqm\/web\/installations\/Installation1\/servers\/\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/\n        etc\/mqm\/web\/installations\/Installation1\/servers\/mqweb\/mqwebuser.xml\n\n|3 BASE_IMAGE=registry.redhat.io\/ubi8\/ubi-minimal BASE_TAG=8.5-204 GO_WORKDIR=\/opt\/app-root\/src\/go\/src\/github.com\/ibm-messaging\/mq-container RUN chown -R 1001:root \/etc\/mqm\/*  \\\n        &amp;&amp; chmod -R g+w \/etc\/mqm\/web  \\\n        &amp;&amp; chmod +x \/usr\/local\/bin\/runmq*  \\\n        &amp;&amp; install --directory --mode 2775 --owner 1001 --group root \/run\/runmqdevserver\nENV MQ_ENABLE_EMBEDDED_WEB_SERVER=1 MQ_GENERATE_CERTIFICATE_HOSTNAME=localhost\nENV LD_LIBRARY_PATH=\/opt\/mqm\/lib64\nENV MQ_CONNAUTH_USE_HTP=true\nENV MQS_PERMIT_UNKNOWN_ID=true\nUSER 1001\nENTRYPOINT [\"runmqdevserver\"]\nLABEL architecture=amd64\nLABEL build-date=2021-11-12T16:23:29+0000\nLABEL name=ibm-mqadvanced-server-dev\nLABEL release=r1\nLABEL run=docker run -d -e LICENSE=accept ibm-mqadvanced-server-dev:9.2.4.0-r1.20211112161954.1f6d37a-amd64\nLABEL vcs-ref=1f6d37afedb079b354e2a39461332c37a6e41bb7\nLABEL vcs-type=git\nLABEL vcs-url=git@github.ibm.com:mq-cloudpak\/mq-container\nLABEL version=9.2.4.0\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528dfimage\u5de5\u5177\u4eceDocker\u955c\u50cf\u63d0\u53d6Dockerfile \u6709\u65f6\u5019\u56e0\u4e3a\u81ea\u5df1\u6784\u5efa\u955c\u50cf\u7684 Dockerfil [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[332],"tags":[226,466],"class_list":["post-2641","post","type-post","status-publish","format-standard","hentry","category-docker","tag-docker","tag-dockerfile"],"_links":{"self":[{"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/posts\/2641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/comments?post=2641"}],"version-history":[{"count":1,"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/posts\/2641\/revisions"}],"predecessor-version":[{"id":2642,"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/posts\/2641\/revisions\/2642"}],"wp:attachment":[{"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/media?parent=2641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/categories?post=2641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/199604.com\/wp-json\/wp\/v2\/tags?post=2641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}