Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Segy to oVDS Conversion DAG
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
Data Flow
Data Ingestion
Segy to oVDS Conversion DAG
Commits
46405fa6
Commit
46405fa6
authored
3 years ago
by
Sumra Zafar
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
5b9a149f
No related branches found
No related tags found
No related merge requests found
Pipeline
#79350
passed
3 years ago
Stage: linters
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DAG.Dockerfile
+40
-0
40 additions, 0 deletions
DAG.Dockerfile
with
40 additions
and
0 deletions
DAG.Dockerfile
0 → 100644
+
40
−
0
View file @
46405fa6
FROM
community.opengroup.org:5555/osdu/platform/deployment-and-operations/base-containers-azure/alpine-python3:0.0.2
ARG
DATA_PARTITION=opendes
ENV
BUILD_PACKAGES \
py-cryptography
ENV
PYTHONUNBUFFERED=1 \
PATH="/home/osdu/.local/bin:${PATH}" \
DATA_PARTITION=${DATA_PARTITION} \
DAG_DIRECTORY=../../.. \
DAG_TASK_IMAGE=${DAG_TASK_IMAGE} \
AZURE_DEPLOYMENTS_SUBDIR=. \
AZURE_DEPLOYMENTS_SCRIPTS_SUBDIR=.
USER
root
RUN
set
-x
\
echo
"**** install Python ****"
&&
\
apk update
&&
\
apk add
--no-cache
${
BUILD_PACKAGES
}
&&
\
rm
-rf
/var/cache/apk/
*
# Install Requirements
ADD
deployments/scripts/azure/requirements.txt ./requirements.txt
RUN
pip
install
-r
requirements.txt
# Add Scripts
ADD
deployments/scripts/azure/*.py scripts/
ADD
deployments/scripts/azure/bootstrap.sh scripts/
RUN
chmod
+x scripts/bootstrap.sh
# Add DAGs
ADD
/openvds_azure.py /openvds_azure.py
# Execute as non root user.
USER
osdu
WORKDIR
/home/osdu/scripts
ENTRYPOINT
["/home/osdu/scripts/bootstrap.sh"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment