-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (22 loc) · 937 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM amazoncorretto:8u275
MAINTAINER Carl Marcum "[email protected]"
WORKDIR /app
# download openoffice and sdk to image, install, and cleanup...
RUN yum -y install \
tar \
wget \
gzip \
&& wget https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.8/binaries/en-US/Apache_OpenOffice_4.1.8_Linux_x86-64_install-rpm_en-US.tar.gz/download -O Apache_OpenOffice_4.1.8_Linux_x86-64_install-rpm_en-US.tar.gz \
&& wget https://sourceforge.net/projects/openofficeorg.mirror/files/4.1.8/binaries/SDK/Apache_OpenOffice-SDK_4.1.8_Linux_x86-64_install-rpm_en-US.tar.gz/download -O Apache_OpenOffice-SDK_4.1.8_Linux_x86-64_install-rpm_en-US.tar.gz \
&& tar -xvf Apache_OpenOffice_4.1.8* \
&& yum -y install en-US/RPMS/*.rpm \
&& rm -rf en-US \
&& tar -xvf Apache_OpenOffice-SDK_4.1.8* \
&& yum -y install en-US/RPMS/*.rpm \
&& rm -rf en-US \
&& rm Apache_OpenOffice* \
&& yum -y remove \
tar \
wget \
gzip \
&& yum clean all