Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
2b802a39
Unverified
Commit
2b802a39
authored
Jan 03, 2023
by
ZackYoung
Committed by
GitHub
Jan 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fix][docker] fix docker-image flink version (#1495)
* fix docker-image flink version * replace docker image jdk
parent
fe2ae196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+2
-2
DockerfileDinkyFlink
DockerfileDinkyFlink
+3
-3
No files found.
Dockerfile
View file @
2b802a39
FROM
ibmjava:8-sfj
as build-stage
FROM
openjdk:8u342-oracle
as build-stage
ARG
DINKY_VERSION
ENV
DINKY_VERSION=${DINKY_VERSION}
...
...
@@ -10,7 +10,7 @@ RUN mv /opt/dlink-release-${DINKY_VERSION} /opt/dinky/
RUN
mkdir
-p
/opt/dinky/run
&&
mkdir
-p
/opt/dinky/logs
&&
touch
/opt/dinky/logs/dlink.log
RUN
chmod
-R
777 /opt/dinky/
FROM
ibmjava:8-sfj
as production-stage
FROM
openjdk:8u342-oracle
as production-stage
COPY
--from=build-stage /opt/dinky/ /opt/dinky/
WORKDIR
/opt/dinky/
...
...
DockerfileDinkyFlink
View file @
2b802a39
...
...
@@ -5,7 +5,7 @@ FROM flink:${FLINK_VERSION} as reqired-stage
FROM ${DINKY_IMAGE} as build-stage
FROM
ibmjava:8-sfj
as production-stage
FROM
openjdk:8u342-oracle
as production-stage
USER root
ARG FLINK_BIG_VERSION
...
...
@@ -18,4 +18,4 @@ WORKDIR /opt/dinky/
EXPOSE 8888
CMD ./auto.sh restart && tail -f /opt/dinky/logs/dlink.log
\ No newline at end of file
CMD ./auto.sh restart ${FLINK_BIG_VERSION} && tail -f /opt/dinky/logs/dlink.log
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment