Skip to content

Commit d3489df

Browse files
committed
initial docker test commit
1 parent 36d6757 commit d3489df

9 files changed

Lines changed: 96 additions & 0 deletions

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
docker:
8+
runs-on: ubuntu-latest
9+
steps:
10+
-
11+
name: Checkout
12+
uses: actions/checkout@v5
13+
-
14+
name: Login to Docker Hub
15+
uses: docker/login-action@v3
16+
with:
17+
registry: ghcr.io
18+
username: ${{ github.repository_owner }}
19+
password: ${{ secrets.GITHUB_TOKEN }}
20+
-
21+
name: Set up QEMU
22+
uses: docker/setup-qemu-action@v3
23+
-
24+
name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
26+
-
27+
name: Build and push
28+
uses: docker/build-push-action@v6
29+
with:
30+
context: .
31+
push: true
32+
tags: ghcr.io/GallowayLabMIT/spectrum-protect:latest
33+
platforms: linux/amd64

Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM ubuntu:noble
2+
RUN mkdir /workdir
3+
COPY ./spectrum_protect.8.1.13.3.tar.gz.aa \
4+
./spectrum_protect.8.1.13.3.tar.gz.ab \
5+
./spectrum_protect.8.1.13.3.tar.gz.ac \
6+
./spectrum_protect.8.1.13.3.tar.gz.ad \
7+
./spectrum_protect.8.1.13.3.tar.gz.ae /workdir
8+
RUN <<EOF
9+
cd /workdir \
10+
&& cat spectrum_protect.8.1.13.3.tar.gz.a* > spectrum_protect.8.1.13.3.tar.gz \
11+
&& tar xvf spectrum_protect.8.1.13.3.tar.gz \
12+
&& dpkg -i gskcrypt64_8.0-55.24.linux.x86_64.deb gskssl64_8.0-55.24.linux.x86_64.deb \
13+
&& dpkg -i tivsm-api64.amd64.deb \
14+
&& dpkg -i tivsm-apicit.amd64.deb \
15+
&& dpkg -i tivsm-ba.amd64.deb \
16+
&& dpkg -i tivsm-bacit.amd64.deb \
17+
&& dpkg -i tivsm-bahdw.amd64.deb
18+
EOF
19+
20+
RUN mkdir /data \
21+
&& ln -sf /dev/stdout /opt/tivoli/tsm/dsmsched.log \
22+
&& ln -sf /dev/stderr /opt/tivoli/tsm/error.log
23+
24+
VOLUME /data
25+
VOLUME /etc/adsm
26+
27+
WORKDIR /data
28+
29+
CMD ["/usr/bin/dsmc", "incr"]

dsm.opt.smp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
************************************************************************
2+
* *
3+
* Sample Client User Options file for UNIX (dsm.opt.smp) *
4+
************************************************************************
5+
6+
* This file contains an option you can use to specify the
7+
* server to contact if more than one is defined in your client
8+
* system options file (dsm.sys). Copy dsm.opt.smp to dsm.opt.
9+
* If you enter a server name for the option below, remove the
10+
* leading asterisk (*).
11+
12+
************************************************************************
13+
14+
* SErvername A server name defined in the dsm.sys file

dsm.sys.smp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
************************************************************************
2+
* *
3+
* Sample Client System Options file for UNIX (dsm.sys.smp) *
4+
************************************************************************
5+
6+
* This file contains the minimum options required to get started
7+
* using the Backup-Archive Client. Copy dsm.sys.smp to dsm.sys.
8+
* In the dsm.sys file, enter the appropriate values for each option
9+
* listed below and remove the leading asterisk (*) for each one.
10+
11+
* If your client node communicates with multiple servers, be
12+
* sure to add a stanza, beginning with the SERVERNAME option, for
13+
* each additional server.
14+
15+
************************************************************************
16+
17+
SErvername server_a
18+
COMMMethod TCPip
19+
TCPPort 1500
20+
TCPServeraddress node.domain.company.COM
47.7 MB
Binary file not shown.
47.7 MB
Binary file not shown.
47.7 MB
Binary file not shown.
47.7 MB
Binary file not shown.
1.36 MB
Binary file not shown.

0 commit comments

Comments
 (0)