Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: fix docker images #3651

Merged
merged 2 commits into from
Apr 28, 2021
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
4 changes: 2 additions & 2 deletions Dockerfile.latest
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ ENV IPFS_MONITORING=1
ENV IPFS_PATH=/root/.jsipfs
ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'

RUN apk add --no-cache git python build-base
RUN apk add --no-cache git python3 build-base

RUN npm install --unsafe-perm -g ipfs@"$IPFS_VERSION"

# Make the image a bit smaller
RUN npm cache clear --force
RUN apk del build-base python git
RUN apk del build-base python3 git

# Configure jsipfs
RUN jsipfs init
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.next
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ ENV IPFS_MONITORING=1
ENV IPFS_PATH=/root/.jsipfs
ENV BUILD_DEPS='libnspr4 libnspr4-dev libnss3'

RUN apk add --no-cache git python build-base
RUN apk add --no-cache git python3 build-base

RUN npm install --unsafe-perm -g ipfs@"$IPFS_VERSION"

# Make the image a bit smaller
RUN npm cache clear --force
RUN apk del build-base python git
RUN apk del build-base python3 git

# Configure jsipfs
RUN jsipfs init
Expand Down