Skip to content

Commit 63c115e

Browse files
authored
Merge pull request #18 from PHPRio/bugfix/bashrc
Troca do arquivo bashrc para ser o raiz
2 parents c5cd641 + da327fe commit 63c115e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync \
2929
@composer \
3030
&& rm /usr/local/bin/install-php-extensions
3131

32-
RUN echo "alias jigsaw=./vendor/bin/jigsaw" >> ~/.bashrc && \
33-
echo "alias compile='./vendor/bin/jigsaw build'" >> ~/.bashrc && \
34-
/bin/bash -c "source ~/.bashrc"
32+
RUN echo "alias jigsaw=./vendor/bin/jigsaw" >> /etc/bash.bashrc && \
33+
echo "alias compile='./vendor/bin/jigsaw build'" >> /etc/bash.bashrc && \
34+
/bin/bash -c "source /etc/bash.bashrc"
3535

3636
COPY entrypoint.sh /var/www/scripts/
3737
ENTRYPOINT [ "bash", "/var/www/scripts/entrypoint.sh" ]

0 commit comments

Comments
 (0)