45 liens privés
Create a Dockerfile like this:
FROM your_image as initial
FROM your_image_base
COPY --from=initial / /
your_image_base should be something like 'alpine' - so the smallest image from which your image and its parents descend from.
Now build the image and check the history and size:
docker build -t your-image:2.0 .
docker image history your-image:2.0
docker image ls
docker run --rm -v some_volume:/volume -v /tmp:/backup alpine tar -cjf /backup/some_archive.tar.bz2 -C /volume ./
And to restore it, just run:
docker run --rm -v some_volume:/volume -v /tmp:/backup alpine sh -c "rm -rf /volume/ /volume/..? /volume/.[!.]* ; tar -C /volume/ -xjf /backup/some_archive.tar.bz2"
PeopleSoft FSCM PUM Installation
sh psft-dpk-setup.sh --silent --response_file=/tmp/response.txt --customization_file=/tmp/psft_customizations.yaml
PeopleSoft PUM Database response file: response.txt
install_type=FRESH [or PUM]
psft_base_dir=/u02/fsc040
user_home_dir=/home/
db_type=DEMO
db_platform=ORACLE
db_name=EP92U040
db_service_name=EP92U040
db_port=1521
connect_id=people
connect_pwd=people
opr_id=VP1
opr_pwd=VP1
admin_pwd=Tiger123
access_id=SYSADM
access_pwd=SYSADM
weblogic_admin_pwd=Tiger123
webprofile_user_id=PTWEBSERVER
webprofile_user_pwd=PTWEBSERVER
gw_user_id=administrator
gw_user_pwd=Tiger123
gw_keystore_pwd=Tiger123
YAML File: psft_customizations.yaml
db_name: EP92U040
db_user: VP1
db_user_pwd: VP1
db_connect_id: people
db_connect_pwd: people
change_password: false
access_id: SYSADM
access_pwd: SYSADM
db_admin_pwd: Tiger123
domain_user: "%{hiera('psft_runtime_user_name')}"
ps_config_home: "%{hiera('user_home_dir')}/%{hiera('domain_user')}/psft/pt/8.58"
appserver_template: small
appserver_domain_name: EP92U040
prcs_domain_name: EP92U040
prcs_domain_id: "PRCS%{::rand}"
report_node_name: "%{hiera('prcs_domain_id')}"
pia_domain_name: peoplesoft
pia_site_name: ps
pia_http_port: 8022
pia_https_port: 8455
jolt_port: 9055
wsl_port: 8001
db_port: 1521
pia_gateway_user: administrator
pia_gateway_user_pwd: Tiger123
pia_gateway_keystore_pwd: Tiger123
domain_conn_pwd: Tiger123
peoplesoft_base: /u02/fsc040
dpk_location: "%{hiera('peoplesoft_base')}/dpk"
archive_location: "%{hiera('dpk_location')}/archives"
pt_location: "%{hiera('peoplesoft_base')}/pt"
db_location: "%{hiera('peoplesoft_base')}/db"
psft_runtime_group_name: psft
psft_app_install_group_name: appinst
oracle_install_group_name: oinstall
oracle_runtime_group_name: dba
groups:
psft_runtime_group:
name: "%{hiera('psft_runtime_group_name')}"
app_install_group:
name: "%{hiera('psft_app_install_group_name')}"
oracle_install_group:
name: "%{hiera('oracle_install_group_name')}"
remove: false
oracle_runtime_group:
name: "%{hiera('oracle_runtime_group_name')}"
remove: false
psft_user_pwd: 0radmin
oracle_user_pwd: oracle
user_home_dir: /u02
psft_install_user_name: psadm11
psft_runtime_user_name: psadm22
psft_app_install_user_name: psadm33
oracle_user_name: oracle22
psft_es_user_name: esadm11
psft_es_esadmin_name: esadmin
psft_es_espeople_name: people
setup_samba: false
setup_sysctl: false
setup_services: true