-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1686 from RafaelTaranto/chore/dockerfiles-improve…
…ment chore: remove unused files
- Loading branch information
Showing
303 changed files
with
81 additions
and
81,694 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.