Skip to content

Commit

Permalink
[Docker] Dockerfile version change (apache#520)
Browse files Browse the repository at this point in the history
Dockerfile version change
  • Loading branch information
HuangFru authored Oct 26, 2022
1 parent 9fa2572 commit 2cb0e3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/ams/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ RUN apt update \
&& apt-get install -y net-tools \
&& apt-get install -y telnet

RUN wget https://github.com/NetEase/arctic/releases/download/v0.3.1-rc1/arctic-0.3.1-bin.zip \
&& unzip arctic-0.3.1-bin.zip
RUN wget https://github.com/NetEase/arctic/releases/download/v0.3.2-rc1/arctic-0.3.2-bin.zip \
&& unzip arctic-0.3.2-bin.zip

WORKDIR /usr/local/ams/arctic-0.3.1
WORKDIR /usr/local/ams/arctic-0.3.2

CMD ["bash","-c","./bin/ams.sh start && tail -f /dev/null"]

Expand Down
4 changes: 2 additions & 2 deletions docker/flink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ ARG APACHE_FLINK_URL=mirrors.cloud.tencent.com/apache/flink
ARG HADOOP_VERSION=2.7.5
RUN tar -zxvf flink-${FLINK_VERSION}-bin-scala_${SCALA_VERSION}.tgz \
&& wget https://repo1.maven.org/maven2/org/apache/flink/flink-shaded-hadoop-2-uber/${HADOOP_VERSION}-10.0/flink-shaded-hadoop-2-uber-${HADOOP_VERSION}-10.0.jar \
&& wget https://github.com/NetEase/arctic/releases/download/v0.3.1-rc1/arctic-flink-runtime-1.12-0.3.1.jar \
&& wget https://github.com/NetEase/arctic/releases/download/v0.3.2-rc1/arctic-flink-runtime-1.12-0.3.2.jar \
&& cd flink-${FLINK_VERSION} \
&& cp examples/table/ChangelogSocketExample.jar lib \
&& cp ../arctic-flink-runtime-1.12-0.3.1.jar lib \
&& cp ../arctic-flink-runtime-1.12-0.3.2.jar lib \
&& cp ../flink-shaded-hadoop-2-uber-${HADOOP_VERSION}-10.0.jar lib
#You need to download hive-exec-2.1.1.jar by yourself and put it in the same directory as Dockerfile
COPY hive-exec-2.1.1.jar /usr/local/arctic_flink/flink-${FLINK_VERSION}/lib
Expand Down
2 changes: 1 addition & 1 deletion site/docs/ch/docker-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ CREATE TABLE cdc_source(
INSERT INTO arctic.test_db.test_table
SELECT id,
name,
CAST(TO_TIMESTAMP(op_time) AS TIMESTAMP(6) WITH LOCAL TIME ZONE) op_time
TO_TIMESTAMP(op_time) op_time
FROM cdc_source;
-- 打开表的动态配置 HINT
Expand Down

0 comments on commit 2cb0e3e

Please sign in to comment.