Commit 3c832c6f authored by Yann Garcia's avatar Yann Garcia
Browse files

Add Docker support for demo6 (golng 1.22)

parent 511fb872
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -12,14 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:11.7-slim
FROM golang


# Some ENV variables
ENV SERVICE_NAME = "demo6"

COPY ./demo6 /demo6
COPY ./static /static
COPY entrypoint.sh / 

RUN chmod +x /entrypoint.sh
+1 −1
Original line number Diff line number Diff line
@@ -9,4 +9,4 @@ echo "localurl: ${MEEP_POD_NAME}" >>app_instance.yaml
echo "port:" >>app_instance.yaml

# Start service
exec /demo-server ./app_instance.yaml
exec /demo6 ./app_instance.yaml

examples/demo6/run.sh

0 → 100755
+9 −0
Original line number Diff line number Diff line
#!/bin/bash

set -e
set +x

docker run -it --rm meep-docker-registry:30001/demo6 /bin/bash

echo ""
echo ">>> Done"