Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install lftp #1771

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lftp user change
gchauhan-aot committed Jan 30, 2025
commit 67b4339e40c529360daef4f07f1ab7351325d603
2 changes: 1 addition & 1 deletion scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -31,20 +31,20 @@
WORKDIR /app

# Set node to production
ENV NODE_ENV ${NODE_ENV}

Check warning on line 34 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$NODE_ENV' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

# Set environment variables
ENV DB_TYPE ${DB_TYPE}
ENV SCHEDULER_API_LOG_LEVEL ${SCHEDULER_API_LOG_LEVEL}

Check warning on line 38 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$SCHEDULER_API_LOG_LEVEL' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV SCHEDULER_API_TYPEORM_LOG_LEVEL ${SCHEDULER_API_TYPEORM_LOG_LEVEL}
ENV SCHEDULER_API_MAX_QUERY_EXECUTION_TIME_MS ${SCHEDULER_API_MAX_QUERY_EXECUTION_TIME_MS}

Check warning on line 40 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV SCHEDULER_API_MSSQL_MAX_CONNECTION ${SCHEDULER_API_MSSQL_MAX_CONNECTION}
ENV MSSQL_HOST ${MSSQL_HOST}
ENV MSSQL_PORT ${MSSQL_PORT}

Check warning on line 43 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$MSSQL_PORT' (did you mean $MSSQL_HOST?) More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV MSSQL_DB ${MSSQL_DB}

Check warning on line 44 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV MSSQL_SA_USER ${MSSQL_SA_USER}
ENV MSSQL_SA_PASSWORD ${MSSQL_SA_PASSWORD}
ENV MSSQL_ENCRYPT ${MSSQL_ENCRYPT}

Check warning on line 47 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 47 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$MSSQL_ENCRYPT' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV KEYCLOAK_ISSUER_URL ${KEYCLOAK_ISSUER_URL}
ENV KEYCLOAK_AUDIENCE ${KEYCLOAK_AUDIENCE}
ENV KEYCLOAK_IGNORE_EXP ${KEYCLOAK_IGNORE_EXP}
@@ -52,7 +52,7 @@
ENV OCIO_S3_BUCKET ${OCIO_S3_BUCKET}
ENV OCIO_S3_PRESIGNED_URL_EXPIRY ${OCIO_S3_PRESIGNED_URL_EXPIRY}
ENV OCIO_S3_ENDPOINT ${OCIO_S3_ENDPOINT}
ENV OCIO_S3_KEY ${OCIO_S3_KEY}

Check warning on line 55 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$OCIO_S3_KEY' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV OCIO_S3_SECRETACCESSKEY ${OCIO_S3_SECRETACCESSKEY}
ENV TPS_POLL_LIMIT ${TPS_POLL_LIMIT}
ENV TPS_PENDING_POLLING_INTERVAL ${TPS_PENDING_POLLING_INTERVAL}
@@ -62,9 +62,9 @@
ENV CFS_PRIVATE_KEY_PASSPHRASE ${CFS_PRIVATE_KEY_PASSPHRASE}
ENV CFS_SFTP_USERNAME ${CFS_SFTP_USERNAME}
ENV CFS_SFTP_HOST ${CFS_SFTP_HOST}
ENV CFS_SFTP_PORT ${CFS_SFTP_PORT}

Check warning on line 65 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$CFS_SFTP_PORT' (did you mean $CFS_SFTP_HOST?) More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV CFS_REMOTE_PATH ${CFS_REMOTE_PATH}
ENV ORBC_SERVICE_ACCOUNT_CLIENT_ID ${ORBC_SERVICE_ACCOUNT_CLIENT_ID}

Check warning on line 67 in scheduler/Dockerfile

GitHub Actions / Builds (scheduler)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$ORBC_SERVICE_ACCOUNT_CLIENT_ID' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV ORBC_SERVICE_ACCOUNT_CLIENT_SECRET ${ORBC_SERVICE_ACCOUNT_CLIENT_SECRET}
ENV ORBC_SERVICE_ACCOUNT_TOKEN_URL ${ORBC_SERVICE_ACCOUNT_TOKEN_URL}
ENV ACCESS_API_URL ${ACCESS_API_URL}
@@ -83,7 +83,7 @@
EXPOSE 5050

# Non-root user
USER root
USER node

# Start the app
CMD ["npm", "run", "start:prod"]