diff --git a/packaging/docker/base/Dockerfile b/packaging/docker/base/Dockerfile deleted file mode 100644 index 937d48dcff..0000000000 --- a/packaging/docker/base/Dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -# Dockerfile -# -# This source file is part of the FoundationDB open source project -# -# Copyright 2013-2021 Apple Inc. and the FoundationDB project authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -FROM ubuntu:18.04 - -# Install dependencies - -RUN apt-get update && \ - apt-get install -y curl>=7.58.0-2ubuntu3.6 \ - dnsutils>=1:9.11.3+dfsg-1ubuntu1.7 \ - lsof>=4.89+dfsg-0.1 \ - tcptraceroute>=1.5beta7+debian-4build1 \ - telnet>=0.17-41 \ - netcat>=1.10-41.1 \ - strace>=4.21-1ubuntu1 \ - tcpdump>=4.9.3-0ubuntu0.18.04.1 \ - less>=487-0.1 \ - vim>=2:8.0.1453-1ubuntu1.4 \ - net-tools>=1.60+git20161116.90da8a0-1ubuntu1 \ - jq>=1.5+dfsg-2 && \ - rm -r /var/lib/apt/lists/* - -# Adding tini https://github.com/krallin/tini -ARG TINI_VERSION=v0.19.0 -RUN curl -sLO https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64 && \ - curl -sLO https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-amd64.sha256sum && \ - sha256sum -c tini-amd64.sha256sum && \ - rm -f tini-amd64.sha256sum && \ - chmod +x tini-amd64 && \ - mv tini-amd64 /usr/bin/tini diff --git a/packaging/docker/dev/Dockerfile b/packaging/docker/dev/Dockerfile deleted file mode 100644 index c74da35467..0000000000 --- a/packaging/docker/dev/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -# Dockerfile -# -# This source file is part of the FoundationDB open source project -# -# Copyright 2013-2021 Apple Inc. and the FoundationDB project authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -ARG REPOSITORY=foundationdb/build -ARG VERSION=centos7-latest -FROM $REPOSITORY:$VERSION - -# Install FoundationDB Binaries - -WORKDIR /var/fdb/tmp - -COPY docker/scripts scripts/ - -RUN chmod u+x scripts/*.bash && \ - mkdir -p logs - -COPY . /var/fdb/tmp/packages - -WORKDIR /var/fdb/tmp/packages/bin - -RUN chmod u+x fdbbackup fdbcli fdbdr fdbmonitor fdbrestore fdbserver backup_agent dr_agent && \ - mv fdbbackup fdbcli fdbdr fdbmonitor fdbrestore fdbserver backup_agent dr_agent /usr/bin - -WORKDIR /var/fdb/tmp/packages/lib - -RUN mv libfdb_c.so /usr/lib/libfdb_c.so && \ - mv libfdb_java.so /usr/lib/libfdb_java.so - -# Set Up Runtime Scripts and Directories - -VOLUME /var/fdb/data - -CMD /var/fdb/scripts/fdb.bash - -# Runtime Configuration Options - -ENV FDB_PORT 4500 -ENV FDB_CLUSTER_FILE /var/fdb/fdb.cluster -ENV FDB_NETWORKING_MODE container -ENV FDB_COORDINATOR "" -ENV FDB_COORDINATOR_PORT 4500 -ENV FDB_CLUSTER_FILE_CONTENTS "" -ENV FDB_PROCESS_CLASS unset - -# Adding tini as PID 1 https://github.com/krallin/tini -ENTRYPOINT ["/usr/bin/tini", "-g", "--"] diff --git a/packaging/docker/dev_ycsb/Dockerfile b/packaging/docker/dev_ycsb/Dockerfile deleted file mode 100644 index 4e1f435766..0000000000 --- a/packaging/docker/dev_ycsb/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -ARG REPOSITORY=foundationdb/build -ARG VERSION=centos7-latest -FROM $REPOSITORY:$VERSION - -######################################################################################################################################### -# This install YCSB AND the FDB client -# libraries necessary to run it. The -# following are the different files downloaded: -# -# 1. YCSB -# 2. libfdb_c_${FDB_VERSION}.so -- the C binding. Sent to /var/lib/fdb -# 3. fdb-java-${FDB_VERSION}.jar -- the Java library. Sent to ${YCSB_HOME}/foundationdb-binding/lib -# 4. jaxb-api-2.3.1.jar -- a library dependency necessary for making HDR histograms. Sent to ${YCSB_HOME}/foundationdb-binding/lib -# -# Note that these files are only complete for FDB 6.2.x. If you are wanting to run FDB 6.3.x versions, then you'll need to add -# libfdb_java_${FDB_VERSION}.so to /var/lib/fdb as well -######################################################################################################################################### - -ENV YCSB_VERSION=ycsb-foundationdb-binding-0.17.0 \ - PATH=${PATH}:/usr/bin - -RUN cd /opt \ - && eval curl "-Ls https://github.com/brianfrankcooper/YCSB/releases/download/0.17.0/ycsb-foundationdb-binding-0.17.0.tar.gz" \ - | tar -xzvf - - -RUN rm -Rf /opt/${YCSB_VERSION}/lib/fdb-java-5.2.5.jar - -WORKDIR /var/fdb/tmp - -COPY . /var/fdb/tmp/packages - -WORKDIR /var/fdb/tmp/packages/lib - -RUN mv libfdb_c.so /usr/lib/libfdb_c.so && \ - mv libfdb_java.so /usr/lib/libfdb_java.so - -ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/ - -WORKDIR /var/fdb/tmp/packages - -RUN mv fdb-java-7.0.0-PRERELEASE.jar /opt/${YCSB_VERSION}/lib/fdb-java-7.0.0-PRERELEASE.jar - -WORKDIR "/opt/${YCSB_VERSION}" - -CMD ["tail", "-f", "/dev/null"]