Skip to content

Commit 7dd82f9

Browse files
committed
deploy: 78978b4
1 parent e034538 commit 7dd82f9

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

post/dockerize-spring-boot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</code></pre></div><p>Let&rsquo;s run and test our the newly created images as before:</p><div class=highlight><pre style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sh data-lang=sh>$ docker run -it -p 8080:8080 --rm dockerize-spring-boot:0.0.1-SNAPSHOT
102102
$ curl http://localhost:8080/ping
103103
&gt; Pong!
104-
</code></pre></div><p>This already gives us a solid ground to build upon for production and uses all the best practices almost for free. For example we already could see two benefits:</p><ul><li>The size of the created docker image from the &ldquo;manual&rdquo; <code>Dockerfile</code> is <strong>468MB</strong> while the image created by paketo with default settings is <strong>265MB</strong>.</li><li>The docker layers are cached. When only the java source code is changed, we can see the following message: <em>Reused 4/5 app layer(s)</em>. So we (Paketo) can optimize our build and rebuild only what&rsquo;s actually necesseary.</li></ul><p>For more information please have a look on the Spring doc <a href=https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html>Packaging OCI Images</a>.</p><h3 id=jib>Jib</h3><p><em>Coming soon&mldr;</em></p></div><div class=article-tags><a class="badge badge-light" href=/tags/spring-boot/>spring-boot</a>
104+
</code></pre></div><p>This already gives us a solid ground to build upon for production and uses all the best practices almost for free. For example we already could see two benefits:</p><ul><li>The size of the created docker image from the &ldquo;manual&rdquo; <code>Dockerfile</code> is <strong>468MB</strong> while the image created by paketo with default settings is <strong>265MB</strong>.</li><li>The docker layers are cached. When only the java source code is changed, we can see the following message: <em>Reused 4/5 app layer(s)</em>. So we (Paketo) can optimize our build and rebuild only what&rsquo;s actually necessary.</li></ul><p>For more information please have a look on the Spring doc <a href=https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html>Packaging OCI Images</a>.</p><h3 id=jib>Jib</h3><p><em>Coming soon&mldr;</em></p></div><div class=article-tags><a class="badge badge-light" href=/tags/spring-boot/>spring-boot</a>
105105
<a class="badge badge-light" href=/tags/docker/>docker</a>
106106
<a class="badge badge-light" href=/tags/java/>java</a></div><div class="media author-card"><img class="portrait mr-3" src=/authors/admin/avatar_hu18edfddd1969d66d9defb7f83286ba2e_227135_250x250_fill_q90_lanczos_center.jpg alt=Avatar><div class=media-body><h5 class=card-title><a href=https://nukesz.github.io/>Norbert Benczúr</a></h5><h6 class=card-subtitle>Senior Developer / R&D Manager</h6><ul class=network-icon aria-hidden=true><li><a href=https://www.youtube.com/channel/UCxTl-dwR9J9iIhtNT2j0Vrg target=_blank rel=noopener><i class="fab fa-youtube"></i></a></li><li><a href=https://twitter.com/NorbertBenczur target=_blank rel=noopener><i class="fab fa-twitter"></i></a></li><li><a href=https://github.com/nukesz target=_blank rel=noopener><i class="fab fa-github"></i></a></li><li><a href=mailto:norbert.benczur@gmail.com><i class="fas fa-envelope"></i></a></li></ul></div></div><section id=comments><div id=disqus_thread></div><script>let disqus_config=function(){};(function(){if(["localhost","127.0.0.1"].indexOf(window.location.hostname)!=-1){document.getElementById('disqus_thread').innerHTML='Disqus comments not available by default when the website is previewed locally.';return;}
107107
var d=document,s=d.createElement('script');s.async=true;s.src='https://'+"norbert-blog"+'.disqus.com/embed.js';s.setAttribute('data-timestamp',+new Date());(d.head||d.body).appendChild(s);})();</script><noscript>Please enable JavaScript to view the <a href=https://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript><a href=https://disqus.com class=dsq-brlink>comments powered by <span class=logo-disqus>Disqus</span></a></section></div></article><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin=anonymous></script><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js integrity="sha256-lqvxZrPLtfffUl2G/e7szqSvPBILGbwmsGE1MKlOi0Q=" crossorigin=anonymous></script><script src=https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/3.0.6/isotope.pkgd.min.js integrity="sha256-CBrpuqrMhXwcLLUd5tvQ4euBHCdh7wGlDfNz8vbu/iI=" crossorigin=anonymous></script><script src=https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js integrity="sha256-X5PoE3KU5l+JcX+w09p/wHl9AzK333C4hJ2I9S5mD4M=" crossorigin=anonymous></script><script src=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js integrity="sha256-aYTdUrn6Ow1DDgh5JTc3aDGnnju48y/1c8s1dgkYPQ8=" crossorigin=anonymous></script><script src=https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/languages/r.min.js></script><script>hljs.initHighlightingOnLoad();</script><script>const search_index_filename="/index.json";const i18n={'placeholder':"Search...",'results':"results found",'no_results':"No results found"};const content_type={'post':"Posts",'project':"Projects",'publication':"Publications",'talk':"Talks"};</script><script id=search-hit-fuse-template type=text/x-template>

post/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $ curl http://localhost:8080/ping
128128
&lt;/code>&lt;/pre>&lt;/div>&lt;p>This already gives us a solid ground to build upon for production and uses all the best practices almost for free. For example we already could see two benefits:&lt;/p>
129129
&lt;ul>
130130
&lt;li>The size of the created docker image from the &amp;ldquo;manual&amp;rdquo; &lt;code>Dockerfile&lt;/code> is &lt;strong>468MB&lt;/strong> while the image created by paketo with default settings is &lt;strong>265MB&lt;/strong>.&lt;/li>
131-
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necesseary.&lt;/li>
131+
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necessary.&lt;/li>
132132
&lt;/ul>
133133
&lt;p>For more information please have a look on the Spring doc &lt;a href="https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html">Packaging OCI Images&lt;/a>.&lt;/p>
134134
&lt;h3 id="jib">Jib&lt;/h3>

tags/docker/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $ curl http://localhost:8080/ping
128128
&lt;/code>&lt;/pre>&lt;/div>&lt;p>This already gives us a solid ground to build upon for production and uses all the best practices almost for free. For example we already could see two benefits:&lt;/p>
129129
&lt;ul>
130130
&lt;li>The size of the created docker image from the &amp;ldquo;manual&amp;rdquo; &lt;code>Dockerfile&lt;/code> is &lt;strong>468MB&lt;/strong> while the image created by paketo with default settings is &lt;strong>265MB&lt;/strong>.&lt;/li>
131-
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necesseary.&lt;/li>
131+
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necessary.&lt;/li>
132132
&lt;/ul>
133133
&lt;p>For more information please have a look on the Spring doc &lt;a href="https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html">Packaging OCI Images&lt;/a>.&lt;/p>
134134
&lt;h3 id="jib">Jib&lt;/h3>

tags/java/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $ curl http://localhost:8080/ping
128128
&lt;/code>&lt;/pre>&lt;/div>&lt;p>This already gives us a solid ground to build upon for production and uses all the best practices almost for free. For example we already could see two benefits:&lt;/p>
129129
&lt;ul>
130130
&lt;li>The size of the created docker image from the &amp;ldquo;manual&amp;rdquo; &lt;code>Dockerfile&lt;/code> is &lt;strong>468MB&lt;/strong> while the image created by paketo with default settings is &lt;strong>265MB&lt;/strong>.&lt;/li>
131-
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necesseary.&lt;/li>
131+
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necessary.&lt;/li>
132132
&lt;/ul>
133133
&lt;p>For more information please have a look on the Spring doc &lt;a href="https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html">Packaging OCI Images&lt;/a>.&lt;/p>
134134
&lt;h3 id="jib">Jib&lt;/h3>

tags/spring-boot/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ $ curl http://localhost:8080/ping
128128
&lt;/code>&lt;/pre>&lt;/div>&lt;p>This already gives us a solid ground to build upon for production and uses all the best practices almost for free. For example we already could see two benefits:&lt;/p>
129129
&lt;ul>
130130
&lt;li>The size of the created docker image from the &amp;ldquo;manual&amp;rdquo; &lt;code>Dockerfile&lt;/code> is &lt;strong>468MB&lt;/strong> while the image created by paketo with default settings is &lt;strong>265MB&lt;/strong>.&lt;/li>
131-
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necesseary.&lt;/li>
131+
&lt;li>The docker layers are cached. When only the java source code is changed, we can see the following message: &lt;em>Reused 4/5 app layer(s)&lt;/em>. So we (Paketo) can optimize our build and rebuild only what&amp;rsquo;s actually necessary.&lt;/li>
132132
&lt;/ul>
133133
&lt;p>For more information please have a look on the Spring doc &lt;a href="https://docs.spring.io/spring-boot/gradle-plugin/packaging-oci-image.html">Packaging OCI Images&lt;/a>.&lt;/p>
134134
&lt;h3 id="jib">Jib&lt;/h3>

0 commit comments

Comments
 (0)