Skip to content

Commit 402de94

Browse files
committed
v1.3.6
1 parent 7676108 commit 402de94

File tree

4 files changed

+39
-16
lines changed

4 files changed

+39
-16
lines changed

Dockerfile

+1-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ RUN apt-get install --no-install-recommends -y hercules
77

88
WORKDIR /opt/hercules/vm370
99

10-
# HercControl
11-
RUN wget -nv https://github.com/adesutherland/HercControl/releases/download/v1.1.0/HercControl-Ubuntu.zip
12-
RUN unzip HercControl-Ubuntu.zip && \
13-
chmod +x HercControl-Ubuntu/herccontrol && \
14-
cp HercControl-Ubuntu/herccontrol /usr/local/bin && \
15-
rm -r HercControl-Ubuntu && \
16-
rm HercControl-Ubuntu.zip
17-
1810
# Local Config files
1911
COPY build.sh hercules.conf start_vm370.sh ./
2012
RUN chmod +x build.sh && \
@@ -38,6 +30,7 @@ WORKDIR /opt/hercules/vm370
3830
COPY --from=0 /opt/hercules/vm370/* ./
3931

4032
COPY --from=0 /usr/local/bin/herccontrol /usr/local/bin/herccontrol
33+
COPY --from=0 /usr/local/bin/yata /usr/local/bin/yata
4134

4235
EXPOSE 3270 8038 3505
4336
ENTRYPOINT ["/opt/hercules/vm370/start_vm370.sh"]

build.sh

+36-7
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@
44
# Exit of there is an error
55
set -e
66

7-
# Get the disks
7+
# HercControl
8+
wget -nv https://github.com/adesutherland/HercControl/releases/download/v1.1.0/HercControl-Ubuntu.zip
9+
unzip HercControl-Ubuntu.zip
10+
chmod +x HercControl-Ubuntu/herccontrol
11+
cp HercControl-Ubuntu/herccontrol /usr/local/bin
12+
rm -r HercControl-Ubuntu
13+
rm HercControl-Ubuntu.zip
14+
15+
# Get the VM disks
816
wget -nv https://github.com/adesutherland/vm-370/releases/download/v1.3.4/vm370.zip
917
unzip vm370.zip
1018
rm vm370.zip
1119

12-
# Compress disks
13-
hercules -f hercules.conf -d >/dev/null 2>/dev/null &
14-
herccontrol "sfc*" -w "HHCCD092I"
15-
herccontrol "sfk* 3" -w "HHCCD092I"
16-
herccontrol "exit"
17-
1820
# Run sanity test
1921
hercules -f hercules.conf -d >/dev/null 2>/dev/null &
2022
herccontrol "ipl 141" -w "USER DSC LOGOFF AS AUTOLOG1"
@@ -25,4 +27,31 @@ herccontrol "/listf * * a" -w "^Ready"
2527
herccontrol "/logoff" -w "^VM/370 Online"
2628
herccontrol "/logon operator operator" -w "RECONNECTED AT"
2729
herccontrol "/shutdown" -w "^HHCCP011I"
30+
31+
# YATA - Ubuntu
32+
wget -nv https://github.com/adesutherland/yata/releases/download/v1.1.1/YATA-Ubuntu.zip
33+
unzip YATA-Ubuntu.zip
34+
chmod +x YATA-Ubuntu/yata
35+
cp YATA-Ubuntu/yata /usr/local/bin
36+
rm -r YATA-Ubuntu
37+
rm YATA-Ubuntu.zip
38+
39+
# YATA - CMS
40+
wget -nv https://github.com/adesutherland/yata/releases/download/v1.1.1/YATA-CMS.zip
41+
unzip YATA-CMS.zip
42+
chmod +x YATA-CMS/cmsinstall.sh
43+
mkdir io
44+
cp YATA-CMS/cmsinstall.sh io
45+
cp YATA-CMS/yatabin.aws io
46+
cd io
47+
./cmsinstall.sh
48+
cd ..
49+
rm -r io
50+
rm -r YATA-CMS
51+
rm YATA-CMS.zip
52+
53+
# Compress disks
54+
# hercules -f hercules.conf -d >/dev/null 2>/dev/null &
55+
herccontrol "sfc*" -w "HHCCD092I"
56+
herccontrol "sfk* 3" -w "HHCCD092I"
2857
herccontrol "exit"

changelog.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
VM/370 Docker Container Changelog
22
=================================
33

4+
1.3.6 - Added YATA Version 1.1.1 on Container and VM/370 System Drive
45
1.3.5 - Updated to HercControl 1.1.0 (Six Pack 1.3. Beta 3 DASD contents)
56
1.3.4 - Initial Version (Six Pack 1.3. Beta 3 DASD contents)

start_vm370.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
# Start Hercules
33
mkdir io >/dev/null 2>/dev/null | true
4-
hercules -f hercules.conf -d >/dev/null 2>/dev/null
4+
hercules -f hercules.conf -d >/dev/null 2>/dev/null

0 commit comments

Comments
 (0)