Skip to content

Commit

Permalink
Updating svgo dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
clone1018 committed Nov 13, 2022
1 parent 313ceb5 commit 5c4c9f0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: sudo apt-get install librsvg2-bin

- name: Install svgo for emotes
run: sudo npm -g install svgo
run: sudo npm -g install svgo@2.8.0

- name: Set up Elixir
uses: erlef/setup-elixir@v1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ENV LC_ALL en_US.UTF-8
ENV ECTO_IPV6 true
ENV ERL_AFLAGS "-proto_dist inet6_tcp"

RUN npm install -g svgo
RUN npm install -g svgo@2.8.0

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN mix local.rebar --force
# install node
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
RUN npm install -g svgo
RUN npm install -g svgo@2.8.0

# prepare build dir
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ On modern versions of Ubuntu, you can install these packages with the following
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
sudo apt update
sudo apt install git esl-erlang elixir postgresql npm inotify-tools librsvg2-bin
sudo npm -g install svgo
sudo npm -g install svgo@2.8.0
```

#### Configuring Postgres
Expand Down Expand Up @@ -133,7 +133,7 @@ Now let's install our other dependencies:
brew install imagemagick node
# Optional dependencies
brew install librsvg
npm install -g svgo
npm install -g svgo@2.8.0
# Graphical Postgres, if you do not want a graphical Postgres, you are on your own!
brew install --cask postgres-unofficial
```
Expand Down

0 comments on commit 5c4c9f0

Please sign in to comment.