Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Nov 8, 2023
1 parent 8aa80ac commit 2fb798f
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,11 @@
FROM debian:bookworm-slim

# ARG DEBIAN_FRONTEND=noninteractive

RUN <<EOF
set -eux
apt-get update
# apt-get upgrade -y
apt-get install -y build-essential cmake git # wget software-properties-common
# apt-get install -y libssl-dev libffi-dev libbz2-dev libncurses-dev libncursesw5-dev libgdbm-dev liblzma-dev libsqlite3-dev tk-dev libgdbm-compat-dev libreadline-dev
apt-get install -y build-essential cmake git
EOF

# WORKDIR /opt/python
# RUN <<EOF
# set -eux
# wget -qO- https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz | tar --extract --verbose --gzip --strip-components=1
# ./configure
# make -j$(nproc)
# make install
# python3 --version
# EOF

# RUN rm -rf /opt/python

#COPY --from=python:3.11-slim-bullseye /usr/local/bin /usr/local/bin

COPY --from=node:20-bookworm /usr/local/bin/node /usr/local/bin/node
COPY --from=node:20-bookworm /usr/local/include/node /usr/local/include/node
COPY --from=node:20-bookworm /usr/local/lib/node_modules /usr/local/lib/node_modules
Expand All @@ -32,22 +14,6 @@ COPY --from=python:3.11-bookworm /usr/local/bin/python3 /usr/local/bin/python3
COPY --from=python:3.11-bookworm /usr/local/lib/python3.11 /usr/local/lib/python3.11
COPY --from=python:3.11-bookworm /usr/local/lib/libpython3.11.so.1.0 /usr/local/lib/libpython3.11.so.1.0


# WORKDIR /opt/node
# RUN <<EOF
# set -eux
# wget -qO- https://nodejs.org/dist/latest-v20.x/node-v20.9.0.tar.gz | tar --extract --verbose --gzip --strip-components=1
# ./configure
# make -j$(nproc)
# make install
# node --version
# EOF

# RUN rm -rf /opt/node

# COPY --from=node:20-slim /usr/local/bin /usr/local/bin
# COPY --from=node:20-slim /usr/local/lib/node_modules /usr/local/lib/node_modules

RUN <<-EOF
set -eux
python3 -m pip install conan
Expand Down

0 comments on commit 2fb798f

Please sign in to comment.