Skip to content

Commit

Permalink
Update Dockerfile to install fx as root
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviomartins committed Apr 19, 2024
1 parent 193c40e commit 2ababcd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ RUN apt-get update --yes && \
# Alias fd to fdfind
RUN ln -sf /usr/bin/fdfind /usr/local/bin/fd

# Install fx
ENV FX_VERSION=34.0.0
COPY install_fx.sh /
RUN bash /install_fx.sh && \
rm /install_fx.sh

USER ${NB_UID}

# Install PostgreSQL Python drivers
Expand Down Expand Up @@ -133,12 +139,6 @@ RUN mamba install --yes \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# Install fx
ENV FX_VERSION=34.0.0
COPY install_fx.sh /
RUN bash /install_fx.sh && \
rm /install_fx.sh

USER ${NB_UID}

COPY --chown=${NB_UID}:${NB_GID} ./.psqlrc ${HOME}/.psqlrc
Expand Down

0 comments on commit 2ababcd

Please sign in to comment.