瀏覽代碼

no message

DESKTOP-3E973C2\Admin 4 年之前
父節點
當前提交
4c9e5e03ff
共有 4 個文件被更改,包括 0 次插入22 次删除
  1. 0 5
      chenghongxi/Dockerfile
  2. 0 6
      chenghongxi/hello_world.sh
  3. 0 5
      chx/Dockerfile
  4. 0 6
      chx/hello_world.sh

+ 0 - 5
chenghongxi/Dockerfile

@@ -1,5 +0,0 @@
-FROM centos
-COPY hello_world.sh /usr/
-RUN chmod +x /usr/hello_world.sh
-WORKDIR /usr/
-CMD [ "sh", "hello_world.sh" ]

+ 0 - 6
chenghongxi/hello_world.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-while true
-do
-echo 'hello world!'
-sleep 1
-done

+ 0 - 5
chx/Dockerfile

@@ -1,5 +0,0 @@
-FROM centos
-COPY hello_world.sh /usr/
-RUN chmod +x /usr/hello_world.sh
-WORKDIR /usr/
-CMD [ "sh", "hello_world.sh" ]

+ 0 - 6
chx/hello_world.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-while true
-do
-echo 'hello world!'
-sleep 1
-done