Skip to content

Commit 947c023

Browse files
authored
Fix issues that prevented successful deployment (#639)
* Forward ADMIN_ROLE environment variable * update before install
1 parent 79080e4 commit 947c023

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

connectors/aibuilder/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM aiod_metadata_catalogue
22

33
USER root
4-
RUN apt-get update
5-
RUN apt -y install cron
4+
RUN apt-get update && apt -y install cron
65

76
COPY cron /etc/cron.d/aiod
87
COPY mlmodels.sh /opt/connectors/script/mlmodels.sh

connectors/openml/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ COPY mlmodels.sh /opt/connectors/script/mlmodels.sh
66
COPY entry.sh /opt/connectors/script/entry.sh
77

88
USER root
9-
RUN apt -y install cron
9+
RUN apt-get update && apt -y install cron
1010
RUN chmod +x /etc/cron.d/aiod /opt/connectors/script/datasets.sh
1111
RUN chmod +x /etc/cron.d/aiod /opt/connectors/script/mlmodels.sh
1212
RUN crontab /etc/cron.d/aiod

connectors/zenodo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY datasets.sh /opt/connectors/script/datasets.sh
55
COPY entry.sh /opt/connectors/script/entry.sh
66

77
USER root
8-
RUN apt -y install cron
8+
RUN apt-get update && apt -y install cron
99
RUN chmod +x /etc/cron.d/aiod /opt/connectors/script/datasets.sh
1010
RUN crontab /etc/cron.d/aiod
1111

deletion/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ COPY delete_old.sh /opt/deletion/script/delete_old.sh
55
COPY entry.sh /opt/deletion/script/entry.sh
66

77
USER root
8-
RUN apt -y install cron
8+
RUN apt-get update && apt -y install cron
99
RUN chmod +x /etc/cron.d/aiod /opt/deletion/script/delete_old.sh
1010
RUN crontab /etc/cron.d/aiod
1111

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
- KEYCLOAK_CLIENT_SECRET=$KEYCLOAK_CLIENT_SECRET
1313
- REVIEWER_ROLE_NAME=$REVIEWER_ROLE_NAME
14+
- ADMIN_ROLE_NAME=$ADMIN_ROLE_NAME
1415
- ES_USER=$ES_USER
1516
- ES_PASSWORD=$ES_PASSWORD
1617
ports:

0 commit comments

Comments
 (0)