-
Notifications
You must be signed in to change notification settings - Fork 124
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (24 loc) · 802 Bytes
/
Dockerfile
File metadata and controls
31 lines (24 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM ubuntu:20.04
RUN apt-get update \
&& apt-get install -y \
libssl-dev \
odbcinst \
unixodbc \
curl \
unzip \
libaio1
# INSTALL PROTOBUF
RUN curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v3.18.1/protoc-3.18.1-linux-x86_64.zip
RUN unzip protoc-3.18.1-linux-x86_64.zip -d /usr/local/protoc
RUN rm protoc-3.18.1-linux-x86_64.zip
# INSTALL SNOWFLAKE DRIVERS
RUN curl -LO https://sfc-repo.snowflakecomputing.com/odbc/linux/2.25.7/snowflake-odbc-2.25.7.x86_64.deb
RUN dpkg -i snowflake-odbc-2.25.7.x86_64.deb
RUN rm snowflake-odbc-2.25.7.x86_64.deb
# INSTALL DOZER
RUN echo "Installing dozer binary"
COPY target/release/dozer /usr/local/bin/
ENV PATH="$PATH:/usr/local/protoc/bin"
WORKDIR /usr/dozer
ENTRYPOINT ["dozer"]
CMD ["run"]