From c9ac20f4aac5179be3d58dd84def4a7b2b601367 Mon Sep 17 00:00:00 2001 From: "iamcristye@outlook.com" Date: Tue, 18 Jan 2022 20:50:45 +0800 Subject: [PATCH 1/2] chore: remove useless forum code --- tutor/templates/hooks/forum/init | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 tutor/templates/hooks/forum/init diff --git a/tutor/templates/hooks/forum/init b/tutor/templates/hooks/forum/init deleted file mode 100644 index e98c05a..0000000 --- a/tutor/templates/hooks/forum/init +++ /dev/null @@ -1,2 +0,0 @@ -bundle exec rake search:initialize -bundle exec rake search:rebuild_indices From c707f998e86e9a991add7797d383b519f5e936f6 Mon Sep 17 00:00:00 2001 From: "iamcristye@outlook.com" Date: Tue, 18 Jan 2022 21:08:38 +0800 Subject: [PATCH 2/2] improvement: use LABEL instead of MAINTAINER in Dockerfile see https://docs.docker.com/engine/reference/builder/#maintainer-deprecated --- tutor/templates/build/openedx/Dockerfile | 2 +- tutor/templates/build/permissions/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index 7af5db2..1b15f7a 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -1,6 +1,6 @@ ###### Minimal image with base system requirements for most stages FROM docker.io/ubuntu:20.04 as minimal -MAINTAINER Overhang.io +LABEL maintainer="Overhang.io " ENV DEBIAN_FRONTEND=noninteractive RUN apt update && \ diff --git a/tutor/templates/build/permissions/Dockerfile b/tutor/templates/build/permissions/Dockerfile index 1ddcc5f..44146b0 100644 --- a/tutor/templates/build/permissions/Dockerfile +++ b/tutor/templates/build/permissions/Dockerfile @@ -1,5 +1,5 @@ -from docker.io/alpine:3.13.6 -MAINTAINER Overhang.io +FROM docker.io/alpine:3.13.6 +LABEL maintainer="Overhang.io " COPY ./setowner.sh /usr/local/bin/setowner RUN chmod a+x /usr/local/bin/setowner