diff options
| author | Trial97 <alexandru.tripon97@gmail.com> | 2024-04-27 23:19:54 +0300 |
|---|---|---|
| committer | Trial97 <alexandru.tripon97@gmail.com> | 2024-04-27 23:19:54 +0300 |
| commit | 2eecce37d3e8f16eeae1fbe51eb39f577e30b17b (patch) | |
| tree | f48e24203446ada81c736d3eb7ebc6a54c2fb320 /Containerfile | |
| parent | d996dc2a20c8664b03259cead7c888fd85d9848c (diff) | |
| parent | d215ec0383ce130d2244a3bfe4567d56f3982701 (diff) | |
| download | Project-Tick-2eecce37d3e8f16eeae1fbe51eb39f577e30b17b.tar.gz Project-Tick-2eecce37d3e8f16eeae1fbe51eb39f577e30b17b.zip | |
Merge branch 'main' of https://github.com/PrismLauncher/meta into javas
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'Containerfile')
| -rw-r--r-- | Containerfile | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Containerfile b/Containerfile deleted file mode 100644 index 68e22b68c7..0000000000 --- a/Containerfile +++ /dev/null @@ -1,31 +0,0 @@ -FROM python:3.11.5-alpine3.17 -ARG UID=1337 -ARG GID=1337 - -RUN pip install pipenv \ - && apk add --no-cache rsync cronie git openssh bash - -WORKDIR /app -COPY Pipfile Pipfile.lock . -RUN pipenv install --system --deploy - -# add our cronjob -COPY docker/update.cron /etc/cron.d/meta-update -RUN chmod 644 /etc/cron.d/meta-update \ - && crontab /etc/cron.d/meta-update - -# install entrypoint -COPY docker/entrypoint.sh /usr/local/bin/entrypoint -RUN chmod +x /usr/local/bin/entrypoint - -RUN addgroup -g $GID user \ - && adduser --disabled-password --ingroup user --uid $UID user \ - && mkdir -p /home/user/.ssh \ - && ssh-keyscan github.com > /home/user/.ssh/known_hosts \ - && mkdir -p /app \ - && chown -R $UID:$GID /app /home/user/.ssh - -COPY . . - -ENTRYPOINT ["/usr/local/bin/entrypoint"] -CMD ["update"] |
