Skip to content

Commit

Permalink
Build: update compactor install process (rollup now is included)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateussouzaweb committed Feb 13, 2024
1 parent 7b3750f commit 26f8b6b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:

- name: Install dependencies
run: |
curl https://mateussouzaweb.github.io/compactor/install.sh | bash
curl https://mateussouzaweb.github.io/compactor/install.sh | bash -
npm install
npm install --global rollup
- name: Build package
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:

- name: Install dependencies
run: |
curl https://mateussouzaweb.github.io/compactor/install.sh | bash
curl https://mateussouzaweb.github.io/compactor/install.sh | bash -
npm install
npm install --global rollup
- name: Build package
run: |
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ LABEL org.opencontainers.image.source https://github.com/mateussouzaweb/crunchyr
LABEL maintainer="Mateus Souza <mateussouzaweb@gmail.com>"
ENV DEBIAN_FRONTEND=noninteractive

# Install dependencies
# Install system packages
RUN apt update && apt install -y make sed curl
RUN mkdir -p /usr/local/bin
RUN curl https://mateussouzaweb.github.io/compactor/install.sh | bash
RUN npm install -g rollup
RUN npm install -g npm

# Install compactor
RUN mkdir -p /usr/local/bin && \
curl https://mateussouzaweb.github.io/compactor/install.sh | bash -

# Create app directory
WORKDIR /app

0 comments on commit 26f8b6b

Please sign in to comment.