Skip to content

Commit

Permalink
do not install npm
Browse files Browse the repository at this point in the history
  • Loading branch information
up9cloud committed Jun 30, 2024
1 parent ca37b9d commit 55a4db5
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 31 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,31 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: :ubuntu
uses: docker/build-push-action@v6
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
- name: ubuntu-20
uses: docker/build-push-action@v6
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-20/Dockerfile
tags: sstc/headful-chromium:ubuntu-20
- name: ubuntu-22
uses: docker/build-push-action@v6
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-22/Dockerfile
tags: sstc/headful-chromium:ubuntu-22
- name: :debian-11
uses: docker/build-push-action@v6
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./debian-11/Dockerfile
tags: sstc/headful-chromium:debian-11
- name: :debian-12
uses: docker/build-push-action@v6
- uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# ubuntu version: https://releases.ubuntu.com/
FROM mcr.microsoft.com/playwright:v1.45.0-noble

RUN set -ex; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
npm \
; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*
# RUN set -ex; \
# apt-get update; \
# DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
# npm \
# ; \
# apt-get clean; \
# rm -rf /var/lib/apt/lists/*

# Essentials for scripts
ENV NODE_PATH=/usr/lib/node_modules
Expand Down
14 changes: 7 additions & 7 deletions ubuntu-20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# ubuntu version: https://releases.ubuntu.com/
FROM mcr.microsoft.com/playwright:v1.45.0-focal

RUN set -ex; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
npm \
; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*
# RUN set -ex; \
# apt-get update; \
# DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
# npm \
# ; \
# apt-get clean; \
# rm -rf /var/lib/apt/lists/*

# Essentials for scripts
ENV NODE_PATH=/usr/lib/node_modules
Expand Down
14 changes: 7 additions & 7 deletions ubuntu-22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# ubuntu version: https://releases.ubuntu.com/
FROM mcr.microsoft.com/playwright:v1.45.0-jammy

RUN set -ex; \
apt-get update; \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
npm \
; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*
# RUN set -ex; \
# apt-get update; \
# DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
# npm \
# ; \
# apt-get clean; \
# rm -rf /var/lib/apt/lists/*

# Essentials for scripts
ENV NODE_PATH=/usr/lib/node_modules
Expand Down

0 comments on commit 55a4db5

Please sign in to comment.