Skip to content

Commit

Permalink
Merge pull request #1686 from RafaelTaranto/chore/dockerfiles-improve…
Browse files Browse the repository at this point in the history
…ment

chore: remove unused files
  • Loading branch information
RafaelTaranto authored Jul 16, 2024
2 parents 79d7287 + 72b5eb5 commit 0124754
Show file tree
Hide file tree
Showing 303 changed files with 81 additions and 81,694 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ seeds/
mnemonics/
certs/
blockchains/
test/stress/machines
test/stress/config.json
tests/stress/machines
tests/stress/config.json
lamassu.json

terraform.*
Expand Down
32 changes: 0 additions & 32 deletions Dockerfiles/admin.Dockerfile

This file was deleted.

36 changes: 36 additions & 0 deletions Dockerfiles/common.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM ubuntu:20.04 as base

ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Lisbon

RUN apt-get update

RUN apt-get install -y -q curl \
sudo \
git \
python2-minimal \
build-essential \
libpq-dev \
net-tools

RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
RUN apt-get install nodejs -y -q

FROM base as build-l-s

WORKDIR /app

COPY bin/ packages/lamassu-server/bin
COPY lib/ packages/lamassu-server/lib
COPY data/ packages/lamassu-server/data
COPY tools/ packages/lamassu-server/tools
COPY migrations/ packages/lamassu-server/migrations
COPY package.json packages/lamassu-server/package.json
COPY Lamassu_CA.pem packages/lamassu-server/Lamassu_CA.pem

WORKDIR /app/packages/lamassu-server

RUN chmod +x tools/build-docker-certs.sh
RUN chmod +x bin/lamassu-server-entrypoint.sh

RUN npm install
53 changes: 0 additions & 53 deletions bin/convert-txs.js

This file was deleted.

3 changes: 0 additions & 3 deletions bin/insecure-dev.sh

This file was deleted.

14 changes: 0 additions & 14 deletions bin/lamassu-display-config.js

This file was deleted.

75 changes: 0 additions & 75 deletions bin/lamassu-eth-sweep-old-addresses.js

This file was deleted.

47 changes: 0 additions & 47 deletions bin/migrate-config.js

This file was deleted.

15 changes: 0 additions & 15 deletions dev/coinatmradar.js

This file was deleted.

14 changes: 0 additions & 14 deletions dev/coinatmradarserver.js

This file was deleted.

8 changes: 0 additions & 8 deletions dev/config.js

This file was deleted.

19 changes: 0 additions & 19 deletions dev/double-dispense.js

This file was deleted.

Loading

0 comments on commit 0124754

Please sign in to comment.