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

Various fixes #23

Merged
merged 2 commits into from
Jan 17, 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
93 changes: 91 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ updates:
dependencies:
patterns:
- "*"

- package-ecosystem: docker
directory: /next/
directory: /next/android-community
commit-message:
prefix: "QD-8148"
schedule:
Expand All @@ -21,3 +20,93 @@ updates:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/dotnet
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/dotnet-community
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/go
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/js
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/jvm
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/jvm-community
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/php
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/python
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
- package-ecosystem: docker
directory: /next/python-community
commit-message:
prefix: "QD-8148"
schedule:
interval: weekly
groups:
dependencies:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
- name: Build and push
uses: docker/bake-action@v4
with:
push: github.ref == 'refs/heads/main'
push: ${{ github.ref == 'refs/heads/main' }}
workdir: ${{ matrix.version }}/base
3 changes: 2 additions & 1 deletion 2023.3/android-community/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
apt-get autoremove -y && apt-get clean && \
chmod 777 -R $HOME && \
echo 'root:x:0:0:root:/root:/bin/bash' > /etc/passwd && chmod 666 /etc/passwd && \
git config --global --add safe.directory '*'
git config --global --add safe.directory '*' && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"

ENV GRADLE_USER_HOME="/data/cache/gradle"

Expand Down
3 changes: 2 additions & 1 deletion 2023.3/base/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
apt-get autoremove -y && apt-get clean && \
chmod 777 -R $HOME && \
echo 'root:x:0:0:root:/root:/bin/bash' > /etc/passwd && chmod 666 /etc/passwd && \
git config --global --add safe.directory '*'
git config --global --add safe.directory '*' && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"
3 changes: 2 additions & 1 deletion 2023.3/base/debian.js.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && \
npm --version && \
yarn --version && \
npm install -g [email protected] [email protected] && npm config set update-notifier false && \
chmod 777 -R "$HOME/.npm" "$HOME/.npmrc"
chmod 777 -R "$HOME/.npm" "$HOME/.npmrc" && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"
3 changes: 2 additions & 1 deletion 2023.3/jvm-community/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
apt-get autoremove -y && apt-get clean && \
chmod 777 -R $HOME && \
echo 'root:x:0:0:root:/root:/bin/bash' > /etc/passwd && chmod 666 /etc/passwd && \
git config --global --add safe.directory '*'
git config --global --add safe.directory '*' && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"

ENV GRADLE_USER_HOME="/data/cache/gradle"

Expand Down
3 changes: 2 additions & 1 deletion 2023.3/jvm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
apt-get autoremove -y && apt-get clean && \
chmod 777 -R $HOME && \
echo 'root:x:0:0:root:/root:/bin/bash' > /etc/passwd && chmod 666 /etc/passwd && \
git config --global --add safe.directory '*'
git config --global --add safe.directory '*' && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"

ENV PATH="/opt/yarn/bin:$PATH"
COPY --from=node_base /usr/local/bin/node /usr/local/bin/
Expand Down
3 changes: 2 additions & 1 deletion next/base/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
apt-get autoremove -y && apt-get clean && \
chmod 777 -R $HOME && \
echo 'root:x:0:0:root:/root:/bin/bash' > /etc/passwd && chmod 666 /etc/passwd && \
git config --global --add safe.directory '*'
git config --global --add safe.directory '*' && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"
3 changes: 2 additions & 1 deletion next/base/debian.js.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && \
npm --version && \
yarn --version && \
npm install -g [email protected] [email protected] && npm config set update-notifier false && \
chmod 777 -R "$HOME/.npm" "$HOME/.npmrc"
chmod 777 -R "$HOME/.npm" "$HOME/.npmrc" && \
mkdir -p -m 777 "$HOME/.m2" "$HOME/.m2/repository"