Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Informatica Secure Agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
interop
iics
Informatica Secure Agent
Commits
c4b85705
Commit
c4b85705
authored
5 years ago
by
Eric Schoville
Browse files
Options
Downloads
Patches
Plain Diff
create export dir
parent
4877ee9e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+8
-6
8 additions, 6 deletions
Dockerfile
with
8 additions
and
6 deletions
Dockerfile
+
8
−
6
View file @
c4b85705
...
@@ -11,13 +11,14 @@ MAINTAINER Eric Schoville <>
...
@@ -11,13 +11,14 @@ MAINTAINER Eric Schoville <>
ARG
POD=usw3
ARG
POD=usw3
ARG
REGION=dm-us
ARG
REGION=dm-us
ENV
POD=$POD
ENV
POD=$POD
ENV
REGION=$REGION
ENV
REGION=$REGION
# You should be able to download the Secure Agent binary from the following URL without authentication:
# You should be able to download the Secure Agent binary from the following URL without authentication:
ARG
AGENT_URL="https://${POD}.${REGION}.informaticacloud.com/saas/download/linux64/installer/agent64_install_ng_ext.bin"
ARG
AGENT_URL="https://${POD}.${REGION}.informaticacloud.com/saas/download/linux64/installer/agent64_install_ng_ext.bin"
ARG
WORK_DIR=/home/agent/infaagent/apps/agentcore
ARG
USER=agent
ARG
WORK_DIR=/home/$USER/infaagent/apps/agentcore
# install system tools
# install system tools
RUN
apt-get update
&&
apt-get
install
-y
\
RUN
apt-get update
&&
apt-get
install
-y
\
...
@@ -30,16 +31,16 @@ unzip \
...
@@ -30,16 +31,16 @@ unzip \
jq
jq
# Set the locale, Locale defaults are necessary for agent to operate correctly
# Set the locale, Locale defaults are necessary for agent to operate correctly
RUN
sed
-i
-e
's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/'
/etc/locale.gen
&&
\
RUN
sed
-i
-e
's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/'
/etc/locale.gen
&&
locale-gen
locale-gen
ENV
LANG en_US.UTF-8
ENV
LANG en_US.UTF-8
ENV
LANGUAGE en_US:en
ENV
LANGUAGE en_US:en
ENV
LC_ALL en_US.UTF-8
ENV
LC_ALL en_US.UTF-8
# We need to run docker image under a different user than root
# We need to run docker image under a different user than root
# Secure agent process engine can't be run under root account
# Secure agent process engine can't be run under root account
RUN
useradd
--create-home
-ms
/bin/bash
-U
agent
RUN
useradd
--create-home
-ms
/bin/bash
-U
$USER
USER
agent
RUN
mkdir
/exports
&&
chown
$USER
:
$USER
/exports
USER
$USER
# 1. Download and prepare Installer
# 1. Download and prepare Installer
# 2. Set file permissions
# 2. Set file permissions
...
@@ -53,6 +54,7 @@ rm -rf /tmp/agent64_install.bin
...
@@ -53,6 +54,7 @@ rm -rf /tmp/agent64_install.bin
WORKDIR
$WORK_DIR
WORKDIR
$WORK_DIR
## Define Volumes for Shared Data Staging area
## Define Volumes for Shared Data Staging area
VOLUME
[ "/data" ]
VOLUME
[ "/data" ]
VOLUME
[ "/exports" ]
## Ports used by the agent that might be used for external Connections
## Ports used by the agent that might be used for external Connections
# 7080 Process Engine Shutdown Port
# 7080 Process Engine Shutdown Port
# 7443 Process Engine https port
# 7443 Process Engine https port
...
...
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