This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch ozone-latest
in repository https://gitbox.apache.org/repos/asf/hadoop-docker-ozone.git


The following commit(s) were added to refs/heads/ozone-latest by this push:
     new 67d955b  HDDS-4203. Publish apache/ozone:1.0.0 image (#16)
67d955b is described below

commit 67d955b64ebe7ee882f94ab7cc92c846fe936e95
Author: Elek, Márton <e...@users.noreply.github.com>
AuthorDate: Tue Sep 8 09:05:55 2020 +0200

    HDDS-4203. Publish apache/ozone:1.0.0 image (#16)
---
 Dockerfile          |  2 +-
 build.sh            |  2 +-
 docker-compose.yaml | 10 +++++-----
 start-ozone-all.sh  |  4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 7cfaa55..a66acf1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 FROM apache/ozone-runner:20191107-1
-ARG 
OZONE_URL=https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=hadoop/ozone/ozone-0.5.0-beta/hadoop-ozone-0.5.0-beta.tar.gz
+ARG 
OZONE_URL=https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=hadoop/ozone/ozone-1.0.0/hadoop-ozone-1.0.0.tar.gz
 WORKDIR /opt
 RUN sudo rm -rf /opt/hadoop && wget $OZONE_URL -O ozone.tar.gz && tar zxf 
ozone.tar.gz && rm ozone.tar.gz && mv ozone* hadoop
 WORKDIR /opt/hadoop
diff --git a/build.sh b/build.sh
index dd2176d..d27b85b 100755
--- a/build.sh
+++ b/build.sh
@@ -31,4 +31,4 @@ if [ ! -d "$DIR/build/apache-rat-0.13" ]; then
 fi
 java -jar $DIR/build/apache-rat-0.13/apache-rat-0.13.jar $DIR -e .dockerignore 
-e public -e apache-rat-0.13 -e .git -e .gitignore
 docker build --build-arg OZONE_URL -t apache/ozone .
-docker tag apache/ozone apache/ozone:0.5.0
+docker tag apache/ozone apache/ozone:1.0.0
diff --git a/docker-compose.yaml b/docker-compose.yaml
index 8117275..b9b5a4e 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -17,14 +17,14 @@
 version: "3"
 services:
    datanode:
-      image: apache/ozone:0.5.0
+      image: apache/ozone:1.0.0
       ports:
          - 9864
       command: ["ozone","datanode"]
       env_file:
          - ./docker-config
    om:
-      image: apache/ozone:0.5.0
+      image: apache/ozone:1.0.0
       ports:
          - 9874:9874
       environment:
@@ -34,7 +34,7 @@ services:
          - ./docker-config
       command: ["ozone","om"]
    scm:
-      image: apache/ozone:0.5.0
+      image: apache/ozone:1.0.0
       ports:
          - 9876:9876
       env_file:
@@ -43,14 +43,14 @@ services:
          ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
       command: ["ozone","scm"]
    recon:
-      image: apache/ozone:0.5.0
+      image: apache/ozone:1.0.0
       ports:
          - 9888:9888
       env_file:
          - ./docker-config
       command: ["ozone","recon"]
    s3g:
-      image: apache/ozone:0.5.0
+      image: apache/ozone:1.0.0
       ports:
          - 9878:9878
       env_file:
diff --git a/start-ozone-all.sh b/start-ozone-all.sh
index 21fd23e..edb2706 100755
--- a/start-ozone-all.sh
+++ b/start-ozone-all.sh
@@ -17,11 +17,11 @@
 ozone scm --init
 ozone scm &
 
-ozone datanode &
-
 #wait for scm startup
 export WAITFOR=localhost:9876
 
+/opt/hadoop/libexec/entrypoint.sh ozone datanode &
+
 /opt/hadoop/libexec/entrypoint.sh ozone om --init
 /opt/hadoop/libexec/entrypoint.sh ozone om &
 sleep 15


---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-commits-h...@hadoop.apache.org

Reply via email to