Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: no more md5 checksum on published tomcat version #24

Merged
merged 6 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on: push
jobs:
test:
name: Test - Units & Integrations
runs-on: ubuntu-18.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
cache: maven
- name: Maven test
run: mvn test -B
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
FROM java:openjdk-8-jre-alpine
FROM openjdk:8-jre-alpine
MAINTAINER JLL "lelan-j@mgdis.fr"

# TOMCAT
# Expose web port
EXPOSE 8080

# Tomcat Version
ENV TOMCAT_VERSION_MAJOR 7
ENV TOMCAT_VERSION_FULL 7.0.69
ENV TOMCAT_VERSION_MAJOR 9
ENV TOMCAT_VERSION_FULL 9.0.89

# Download and install
RUN set -x \
&& apk add --no-cache su-exec \
&& apk add --update curl unzip \
&& addgroup tomcat && adduser -s /bin/bash -D -G tomcat tomcat \
&& mkdir /opt \
&& mkdir -p /opt \
&& curl -LO https://archive.apache.org/dist/tomcat/tomcat-${TOMCAT_VERSION_MAJOR}/v${TOMCAT_VERSION_FULL}/bin/apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz \
&& curl -LO https://archive.apache.org/dist/tomcat/tomcat-${TOMCAT_VERSION_MAJOR}/v${TOMCAT_VERSION_FULL}/bin/apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz.md5 \
&& md5sum -c apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz.md5 \
# && curl -LO https://archive.apache.org/dist/tomcat/tomcat-${TOMCAT_VERSION_MAJOR}/v${TOMCAT_VERSION_FULL}/bin/apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz.md5 \
# && md5sum -c apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz.md5 \
&& gunzip -c apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz | tar -xf - -C /opt \
&& rm -f apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz.md5 \
# && rm -f apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz apache-tomcat-${TOMCAT_VERSION_FULL}.tar.gz.md5 \
&& ln -s /opt/apache-tomcat-${TOMCAT_VERSION_FULL} /opt/tomcat \
&& rm -rf /opt/tomcat/webapps/examples /opt/tomcat/webapps/docs /opt/tomcat/webapps/manager /opt/tomcat/webapps/host-manager \
&& apk del curl \
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/WEB-INF/classes/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ InMemoryServer.RepositoryThinClientUri="http://localhost:8080/lightweightcmis/br
InMemoryServer.User=test
InMemoryServer.Password=test
# InMemoryServer.TypesCreatorClass=org.apache.chemistry.opencmis.inmemory.types.DefaultTypeSystemCreator
InMemoryServer.TypeDefinitionsFile=/data/cmis/default-types.xml
InMemoryServer.TypeDefinitionsFile=/tmp/cmis/default-types.xml
InMemoryServer.Class=org.apache.chemistry.opencmis.inmemory.storedobj.impl.StoreManagerImpl

# InMemoryServer.MemoryThreshold=10485760
persistenceDirectory=/data/cmis/default
persistenceDirectory=/tmp/cmis/default
#InMemoryServer.MaxSize=20971520
#InMemoryServer.EncryptTempFiles=false

Expand Down
Loading