Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/vixe-cin-ufpe/TPVis
19 September 2024, 06:48:25 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    No releases to show
  • fc387df
  • /
  • Dockerfile
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:98b2e855aa51cdb3754daacc31d82be1912f9ecb
origin badgedirectory badge
swh:1:dir:fc387df2f526334f22bd20203faec722a472c011
origin badgerevision badge
swh:1:rev:e7d38e58acdd30bdfb9131e8212720e84d0f381e
origin badgesnapshot badge
swh:1:snp:76e6a9904cf3b0914d264d830b35ed70da2fae21

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
Tip revision: e7d38e58acdd30bdfb9131e8212720e84d0f381e authored by José Arthur Silveira on 28 August 2024, 00:55:23 UTC
Update README.md
Tip revision: e7d38e5
Dockerfile
FROM node:22 as frontend

WORKDIR /usr/local/app

COPY ./frontend /usr/local/app/

RUN npm install

RUN npm run build

FROM eclipse-temurin:17-jdk-jammy AS backend
ENV HOME=/usr/app
RUN mkdir -p $HOME
WORKDIR $HOME
COPY ./backend $HOME
COPY --from=frontend /usr/local/app/dist/frontend $HOME/src/main/resources/META-INF/resources/
RUN ./mvnw -f $HOME/pom.xml clean package

FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3

ARG JAVA_PACKAGE=java-17-openjdk-headless
ARG RUN_JAVA_VERSION=1.3.8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en'

RUN microdnf install curl fontconfig ca-certificates ${JAVA_PACKAGE} \
    && microdnf update \
    && microdnf clean all \
    && mkdir /deployments \
    && chown 1000 /deployments \
    && chmod "g+rwX" /deployments \
    && chown 1000:root /deployments \
    && curl https://repo1.maven.org/maven2/io/fabric8/run-java-sh/${RUN_JAVA_VERSION}/run-java-sh-${RUN_JAVA_VERSION}-sh.sh -o /deployments/run-java.sh \
    && chown 1000 /deployments/run-java.sh \
    && chmod 540 /deployments/run-java.sh \
    && echo "securerandom.source=file:/dev/urandom" >> /etc/alternatives/jre/lib/security/java.security

ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
ENV TPVIS_WORKSPACE_PATH="/workspaces"
# We make four distinct layers so if there are application changes the library layers can be re-used
COPY --chown=1000 --from=backend /usr/app/target/quarkus-app/lib/ /deployments/lib/
COPY --chown=1000 --from=backend /usr/app/target/quarkus-app/*.jar /deployments/
COPY --chown=1000 --from=backend /usr/app/target/quarkus-app/app/ /deployments/app/
COPY --chown=1000 --from=backend /usr/app/target/quarkus-app/quarkus/ /deployments/quarkus/
VOLUME /workspaces

EXPOSE 8080
USER 1000

ENTRYPOINT [ "/deployments/run-java.sh" ]

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API