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

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit 55888a842872b713fa135dd0ddd04a69af227fa6
Author: Tzu-Li (Gordon) Tai <[email protected]>
AuthorDate: Sat Mar 28 14:04:27 2020 +0800

    [FLINK-16838] Let Dockerfile in quickstart point to a specific image 
version tag
    
    With this change, the quickstart archetype now always uses a specific
    image version.
    
    If the archetype is a released artifact, then the version tag used will
    be x.y.z, e.g. 2.0.0. Images in this case should be available in the
    Docker Hub registry.
    
    Otherwise, if the archetype is a snapshot distribution built from
    development branches, then the version tag used wil be snapshot
    versions, e.g. 2.1-SNAPSHOT. In this case, you would have to locally
    build the image from the corresponding source version.
---
 statefun-quickstart/src/main/resources/archetype-resources/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile 
b/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile
index aef83ec..966c302 100644
--- a/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile
+++ b/statefun-quickstart/src/main/resources/archetype-resources/Dockerfile
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM statefun
+FROM flink-statefun:@project.version@
 
 RUN mkdir -p /opt/statefun/modules/${artifactId}
 COPY target/${artifactId}*jar /opt/statefun/modules/${artifactId}/

Reply via email to