Skip to content

Commit

Permalink
Remove "docker" profile as it is no longer working reliably and build…
Browse files Browse the repository at this point in the history
…ing can just be done with the normal docker routines.
  • Loading branch information
rzo1 committed May 16, 2024
1 parent 6c3bc17 commit 25ff85f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 84 deletions.
12 changes: 0 additions & 12 deletions examples/mp-metrics-counted/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@ includes a docker profile which can be used to create a Docker image.
$ mvn clean install tomee:run
----

NOTE: Alternatively, build and run the application via Docker (note the use of the docker profile):

[source,bash]
----
$ mvn -Pdocker docker:build
----

[source,bash]
----
$ docker run -it --rm -p 8080:8080 --name=tomee-mp-metrics-counted tomee/mp-metrics-counted
----

Within the application, there is an endpoint that will give you weather
status for the day and week.

Expand Down
13 changes: 0 additions & 13 deletions examples/mp-metrics-counted/README_es.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,6 @@ Docker.
$ mvn clean install tomee:run
----

NOTE: Alternativamente, compile y ejecute la aplicación a través de Docker
(tenga en cuenta el uso del perfil de docker):

[source,bash]
----
$ mvn -Pdocker docker:build
----

[source,bash]
----
$ docker run -it --rm -p 8080:8080 --name=tomee-mp-metrics-counted tomee/mp-metrics-counted
----

Dentro de la aplicación, hay un endpoint que te dará el estado del clima para
el día y la semana.

Expand Down
13 changes: 0 additions & 13 deletions examples/mp-metrics-counted/README_pt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,6 @@ Este é um exemplo sobre como utilizar as métricas de MicroProfile no Tomee. O
$ mvn clean install tomee:run
----

NOTE: Como alternativa, compile e execute o aplicativo através do Docker
(observe o uso do perfil docker):

[source,bash]
----
$ mvn -Pdocker docker:build
----

[source,bash]
----
$ docker run -it --rm -p 8080:8080 --name=tomee-mp-metrics-counted tomee/mp-metrics-counted
----

Dentro do aplicativo, há um endpoint que fornecerá o estado do tempo para o dia e a semana.

== Veja o clima da semana:
Expand Down
46 changes: 0 additions & 46 deletions examples/mp-metrics-counted/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,52 +101,6 @@

</plugins>
</build>
<profiles>
<profile>
<id>docker</id>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.28.0</version>
<executions>
<execution>
<id>start</id>
<phase>pre-integration-test</phase>
<goals>
<goal>build</goal>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>stop</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
<configuration>
<pushRegistry>somename</pushRegistry>
<images>
<image>
<name>${docker.image.name}</name>
<build>
<tags>
<tag>${project.version}</tag>
<tag>latest</tag>
</tags>
<dockerFile>${project.basedir}/${docker.file.name}</dockerFile>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- This section allows you to configure where to publish libraries for
sharing. It is not required and may be deleted. For more information see:
http://maven.apache.org/plugins/maven-deploy-plugin/ -->
Expand Down

0 comments on commit 25ff85f

Please sign in to comment.