From 31e7b90f8785799cfef3971e866611b47ef2c6b7 Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Tue, 13 Oct 2020 10:35:27 +0200
Subject: [PATCH] [MetricsBot] Fix typos

---
 pica-metrics-bot/Dockerfile    | 4 +---
 pica-metrics-bot/entrypoint.sh | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/pica-metrics-bot/Dockerfile b/pica-metrics-bot/Dockerfile
index 45cfacdb..01e74325 100644
--- a/pica-metrics-bot/Dockerfile
+++ b/pica-metrics-bot/Dockerfile
@@ -3,12 +3,10 @@ FROM python:3.8-alpine
 LABEL maintainer quentinduchemin@tuta.io
 ARG METRICS_BOT_VERSION=v1.0
 
-RUN apt-get install -y wget
-
 # Get release
 RUN wget -O code.tar.gz https://gitlab.utc.fr/picasoft/projets/picasoft-metrics-bot/-/archive/${METRICS_BOT_VERSION}/picasoft-metrics-bot-${METRICS_BOT_VERSION}.tar.gz \
     && tar xvf code.tar.gz \
-    && mv picasoft-metrics-bot-${METRICS_BOT_VERSION} /code
+    && mv picasoft-metrics-bot-${METRICS_BOT_VERSION} /code \
     && rm code.tar.gz
 
 # Custom Picasoft entrypoint
diff --git a/pica-metrics-bot/entrypoint.sh b/pica-metrics-bot/entrypoint.sh
index 4a4078a5..e482c215 100644
--- a/pica-metrics-bot/entrypoint.sh
+++ b/pica-metrics-bot/entrypoint.sh
@@ -20,7 +20,7 @@ fi
 if [ -z "${MATTERMOST_PASSWORD}" ]; then
 	echo >&2 'Error : missing required ${MATTERMOST_PASSWORD} environment variable, exiting.'
 	exit 1
-fi.
+fi
 
 if [ -z "${WEKAN_USER}" ]; then
 	echo >&2 'Error : missing required ${WEKAN_USER} environment variable, exiting.'
-- 
GitLab