Compare commits

...

8 Commits

Author SHA1 Message Date
95935b372d 1.0.93
All checks were successful
Docker (tags) / security (push) Successful in 38s
Docker (tags) / test (push) Successful in 56s
Docker (tags) / metadata (push) Successful in 6s
Docker (tags) / release (push) Successful in 5m23s
2024-11-17 19:36:59 +01:00
b47db8f0d9 fix(documentation): Improve documentation with detailed setup and usage instructions 2024-11-17 19:36:59 +01:00
4aba348327 1.0.92
All checks were successful
Docker (tags) / security (push) Successful in 30s
Docker (tags) / test (push) Successful in 55s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Successful in 6m22s
2024-05-26 14:21:26 +02:00
53bf486899 fix(core): update 2024-05-26 14:21:26 +02:00
6ecde05045 1.0.91
Some checks failed
Docker (tags) / security (push) Successful in 28s
Docker (tags) / test (push) Successful in 43s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 27s
2024-05-26 14:14:12 +02:00
ce3a806606 fix(core): update 2024-05-26 14:14:11 +02:00
70c38b2801 1.0.90
Some checks failed
Docker (tags) / security (push) Successful in 37s
Docker (tags) / test (push) Successful in 43s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 1m18s
2024-05-26 14:05:29 +02:00
04f013e185 fix(core): update 2024-05-26 14:05:28 +02:00
7 changed files with 136 additions and 24 deletions

View File

@ -6,7 +6,7 @@ on:
- '*'
env:
IMAGE: code.foss.global/hosttoday/ht-docker-node:npmci
IMAGE: code.foss.global/host.today/ht-docker-node:npmci
NPMCI_COMPUTED_REPOURL: https://${{gitea.repository_owner}}:${{secrets.GITEA_TOKEN}}@gitea.lossless.digital/${{gitea.repository}}.git
# NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
# NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}

View File

@ -1,5 +1,7 @@
FROM docker:dind
# Stage 1: Build Stage
FROM docker:dind as build-stage
# Install necessary build tools and dependencies
RUN apk update && apk add --no-cache \
git \
openssl \
@ -21,38 +23,91 @@ RUN apk update && apk add --no-cache \
nodejs-current \
npm \
krb5-libs \
&& update-ca-certificates \
rust \
docker-cli \
libffi-dev \
libc-dev \
docker-compose
docker-compose \
libc6-compat \
alpine-sdk \
&& update-ca-certificates
RUN apk update && apk add bash libc6-compat alpine-sdk
# Ensure Python is correctly installed and upgrade pip
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
RUN ln -sf python3 /usr/bin/python && \
apk add --no-cache py3-pip py3-setuptools
# Add the patch fix
COPY ./stack-fix.c /lib/
RUN node -v && npm -v
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
# Install pnpm
ENV PNPM_HOME="/root/.local/share/pnpm"
RUN mkdir -p ${PNPM_HOME}
ENV PATH="$PNPM_HOME:$PATH"
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
RUN pnpm -v
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm && chmod +x /bin/pnpm
# Prepare the libraries packages
RUN set -ex \
&& apk add --no-cache --virtual .build-deps build-base \
&& gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
&& apk add --no-cache --virtual .build-deps build-base \
&& gcc -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
&& apk del .build-deps
# export the environment variable of LD_PRELOAD
# Export the environment variable of LD_PRELOAD
ENV LD_PRELOAD /lib/stack-fix.so
# Validate installations
RUN node -v && npm -v && pnpm -v
RUN pnpm config set unsafe-perm true
# Stage 2: Final Stage
FROM docker:dind
# Copy necessary files from build-stage
COPY --from=build-stage /usr/bin/python3 /usr/bin/python3
COPY --from=build-stage /usr/lib/python3.*/ /usr/lib/python3.*/
COPY --from=build-stage /usr/bin/pip3 /usr/bin/pip3
COPY --from=build-stage /lib/stack-fix.so /lib/stack-fix.so
COPY --from=build-stage /bin/pnpm /bin/pnpm
COPY --from=build-stage ${PNPM_HOME} ${PNPM_HOME}
# Ensure CA certificates are up-to-date
RUN apk update && apk add --no-cache \
git \
openssl \
openssl-dev \
ca-certificates \
bash \
curl \
make \
gcc \
g++ \
python3 \
python3-dev \
py3-pip \
linux-headers \
paxctl \
libgcc \
libstdc++ \
gnupg \
nodejs-current \
npm \
krb5-libs \
rust \
docker-cli \
libffi-dev \
libc-dev \
docker-compose \
libc6-compat \
alpine-sdk \
&& update-ca-certificates
# Re-set environment variables for final stage
ENV PYTHONUNBUFFERED=1
ENV PNPM_HOME="/root/.local/share/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
ENV LD_PRELOAD /lib/stack-fix.so
# Validate installations in final stage
RUN node -v && npm -v && pnpm -v
RUN pnpm config set unsafe-perm true

View File

@ -1,2 +1,2 @@
FROM hosttoday/ht-docker-dbase:latest
RUN pnpm install -g @shipzone/npmci
RUN pnpm install -g @ship.zone/npmci

53
changelog.md Normal file
View File

@ -0,0 +1,53 @@
# Changelog
## 2024-11-17 - 1.0.93 - fix(documentation)
Improve documentation with detailed setup and usage instructions
- Added installation instructions for installing directly from GitLab.
- Included a basic TypeScript usage example for setting up Docker continuous integration.
- Outlined further configuration options and hypothetical usage of the package.
## 2024-05-26 - 1.0.88 to 1.0.92 - Core Updates
Routine maintenance and core updates.
- Several updates to the core functionality to enhance stability and performance.
## 2024-05-14 - 1.0.88 - Description Update
Updated project description.
- Modified the project description for clarity.
## 2023-06-25 - 1.0.84 to 1.0.87 - Core Updates
Routine core updates.
- Implemented numerous updates to the project's core functionalities.
## 2022-10-17 - 1.0.82 to 1.0.83 - Core Updates
Routine maintenance for core systems.
- Upgraded core components with several improvements.
## 2022-01-28 - 1.0.75 to 1.0.81 - Core Updates
Progressive updates and fixes in core functionalities.
- Core systems improved with routine maintenance updates.
## 2021-02-27 - 1.0.50 to 1.0.74 - Core Updates
Round of fixes in the core components.
- Enhanced core modules with crucial updates and fixes.
## 2019-11-24 - 1.0.45 - Documentation Update
Minor update to documentation.
- README file renamed for better clarity in project documentation.
## 2019-08-27 - 1.0.8 to 1.0.18 - Core Updates
Ongoing maintenance with multiple core updates.
- Maintained stable functionality with periodic core updates.
## 2018-12-12 - 1.0.0 to 1.0.1 - Core Stabilization
Initial version core stabilization.
- Important fixes applied to core functions to ensure stability.

5
package-lock.json generated
View File

@ -1,5 +0,0 @@
{
"name": "ht-docker-dbase",
"version": "1.0.89",
"lockfileVersion": 1
}

View File

@ -1,6 +1,6 @@
{
"name": "ht-docker-dbase",
"version": "1.0.89",
"version": "1.0.93",
"description": "Provides easy Continuous Integration for Docker images.",
"main": "index.js",
"directories": {

9
pnpm-lock.yaml generated Normal file
View File

@ -0,0 +1,9 @@
lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.: {}