-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add builder image with foundationdb client
- Loading branch information
1 parent
b151b71
commit b8cc008
Showing
4 changed files
with
67 additions
and
0 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 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 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 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,62 @@ | ||
ARG BUILD_FROM=public.ecr.aws/ubuntu/ubuntu:22.04 | ||
FROM ${BUILD_FROM} | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
apt-transport-https \ | ||
autoconf \ | ||
automake \ | ||
autotools-dev \ | ||
bison \ | ||
build-essential \ | ||
ca-certificates \ | ||
cmake \ | ||
curl \ | ||
debhelper \ | ||
expect \ | ||
flex \ | ||
git \ | ||
inotify-tools \ | ||
jq \ | ||
krb5-admin-server \ | ||
krb5-kdc \ | ||
libffi-dev \ | ||
libkrb5-3 \ | ||
libkrb5-dev \ | ||
libncurses5-dev \ | ||
libsasl2-2 \ | ||
libsasl2-dev \ | ||
libsasl2-modules-gssapi-mit \ | ||
libssl-dev \ | ||
libtool \ | ||
python3 \ | ||
python3-pip \ | ||
software-properties-common \ | ||
unixodbc \ | ||
unixodbc-dev \ | ||
unzip \ | ||
vim \ | ||
wget \ | ||
zip \ | ||
zlib1g-dev \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN wget https://github.com/apple/foundationdb/releases/download/7.1.43/foundationdb-clients_7.1.43-1_amd64.deb \ | ||
&& dpkg -i foundationdb-clients_7.1.43-1_amd64.deb \ | ||
&& rm foundationdb-clients_7.1.43-1_amd64.deb | ||
|
||
RUN ln -sf /usr/bin/python3 /usr/bin/python && \ | ||
ln -sf /usr/bin/pip3 /usr/bin/pip | ||
|
||
RUN cmake --version | ||
|
||
WORKDIR / | ||
|
||
# Elixir complains if runs without UTF-8 | ||
ENV LC_ALL=C.UTF-8 | ||
ENV LANG=C.UTF-8 | ||
|
||
WORKDIR / | ||
CMD [ "/bin/bash" ] |