[ 
https://issues.apache.org/jira/browse/SCB-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437108#comment-16437108
 ] 

ASF GitHub Bot commented on SCB-469:
------------------------------------

asifdxtreme closed pull request #327: SCB-469 Create a new docker file for the 
release
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/327
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/scripts/release/Dockerfile b/scripts/release/Dockerfile
new file mode 100644
index 00000000..5d2cdfa4
--- /dev/null
+++ b/scripts/release/Dockerfile
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+FROM ubuntu:latest
+
+ADD ./apache-servicecomb-incubating-service-center-latest-linux-amd64 /release/
+
+RUN sed -i 's/httpaddr = 127.0.0.1/httpaddr = 0.0.0.0/g' 
/release/conf/app.conf 
+
+ENTRYPOINT ["/release/service-center"]


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Remove source code in service-center:1.0.0-m1 docker image
> ----------------------------------------------------------
>
>                 Key: SCB-469
>                 URL: https://issues.apache.org/jira/browse/SCB-469
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Service-Center
>    Affects Versions: service-center-1.0.0-m1
>            Reporter: Yang Bo
>            Assignee: Mohammad Asif Siddiqui
>            Priority: Minor
>             Fix For: service-center-1.0.0-m2
>
>
> The service-center:1.0.0-m1 docker image contains source code which makes the 
> image huge(~300M).
>  Please remove the source code and cleanup /go/data directory and push a new 
> image to docker hub.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to