Skip to content

Commit

Permalink
HDDS-6187. Publish docker image for Ozone 1.2.1 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai authored Jan 23, 2022
1 parent 8c651bf commit 9187e79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM apache/ozone-runner:20210520-1
ARG OZONE_URL=https://dlcdn.apache.org/ozone/1.2.0/ozone-1.2.0.tar.gz
FROM apache/ozone-runner:20211202-1
ARG OZONE_URL=https://dlcdn.apache.org/ozone/1.2.1/ozone-1.2.1.tar.gz
WORKDIR /opt
RUN sudo rm -rf /opt/hadoop && curl -LSs -o ozone.tar.gz $OZONE_URL && tar zxf ozone.tar.gz && rm ozone.tar.gz && mv ozone* hadoop
WORKDIR /opt/hadoop
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:1.2.0
docker tag apache/ozone apache/ozone:1.2.1
10 changes: 5 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
version: "3"
services:
datanode:
image: apache/ozone:1.2.0
image: apache/ozone:1.2.1
ports:
- 9864
command: ["ozone","datanode"]
env_file:
- ./docker-config
om:
image: apache/ozone:1.2.0
image: apache/ozone:1.2.1
ports:
- 9874:9874
environment:
Expand All @@ -34,7 +34,7 @@ services:
- ./docker-config
command: ["ozone","om"]
scm:
image: apache/ozone:1.2.0
image: apache/ozone:1.2.1
ports:
- 9876:9876
env_file:
Expand All @@ -43,14 +43,14 @@ services:
ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
command: ["ozone","scm"]
recon:
image: apache/ozone:1.2.0
image: apache/ozone:1.2.1
ports:
- 9888:9888
env_file:
- ./docker-config
command: ["ozone","recon"]
s3g:
image: apache/ozone:1.2.0
image: apache/ozone:1.2.1
ports:
- 9878:9878
env_file:
Expand Down

0 comments on commit 9187e79

Please sign in to comment.